Skip to content

Commit

Permalink
humanTimeUnit revert12
Browse files Browse the repository at this point in the history
  • Loading branch information
Explorer09 committed Jan 8, 2025
1 parent 14cb1d1 commit ff92277
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 @@ -45,7 +45,7 @@ static int humanTimeUnit(char* buffer, size_t size, unsigned long long totalNano
unsigned long long value = totalNanoseconds / 100;

if (value < 1000)
return xSnprintf(buffer, size, "%u.%uus", (unsigned int)(value / 10), (unsigned int)(value % 10));
return xSnprintf(buffer, size, "%llu.%lluus", value / 10, value % 10);

value /= 10; // microseconds

Expand Down

0 comments on commit ff92277

Please sign in to comment.