consider us instead of ms

This commit is contained in:
Wolfgang Hottgenroth
2019-10-04 09:34:37 +01:00
parent 9fdab25693
commit 9bc60aca0a
2 changed files with 1 additions and 1 deletions

BIN
snippets/test1/test1 Executable file

Binary file not shown.

View File

@ -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);
}