consider us instead of ms
This commit is contained in:
BIN
snippets/test1/test1
Executable file
BIN
snippets/test1/test1
Executable file
Binary file not shown.
@ -139,7 +139,7 @@ int main (void) {
|
||||
pthread_cond_wait(&eventSignal, &eventMutex);
|
||||
pthread_mutex_unlock(&eventMutex);
|
||||
|
||||
double f = 1.0 / (((double) diff) / 1000.0);
|
||||
double f = 1.0 / (((double) diff) / 1000000.0);
|
||||
|
||||
printf("%d %d %d %f\n", ec, counter, diff, f);
|
||||
}
|
||||
|
Reference in New Issue
Block a user