Skip to content

Commit

Permalink
humanTimeUnit 16b
Browse files Browse the repository at this point in the history
  • Loading branch information
Explorer09 committed Dec 26, 2024
1 parent 18dbe87 commit 61b50dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux/GPUMeter.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static int humanTimeUnit(char* buffer, size_t size, unsigned long long int value
value /= 10; // milliseconds

if (value < 10000)
return xSnprintf(buffer, size, "%u.%03us", (unsigned int)(value / 1000), (unsigned int)(value % 1000));
return xSnprintf(buffer, size, "%llu.%03llus", value / 1000, value % 1000);

value /= 10;

Expand Down

0 comments on commit 61b50dc

Please sign in to comment.