refactored

This commit is contained in:
Wolfgang Hottgenroth
2019-10-04 11:52:25 +01:00
parent de23e55290
commit 27dec07ef6
4 changed files with 83 additions and 77 deletions

View File

@ -154,7 +154,7 @@ int main (void) {
my_diff = diff;
pthread_mutex_unlock(&counterMutex);
if (my_diff != lastDiff) {
if (my_diff != lastDiff || 1) {
lastDiff = my_diff;
double f = 1.0 / (((double) my_diff) / 1000000.0);
printf("%d %d %d %f\n", my_ec, my_counter, my_diff, f);