Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git test/test_cpu.c test/test_cpu.c
- index 69d9ceb..f93189c 100644
- --- test/test_cpu.c
- +++ test/test_cpu.c
- @@ -60,6 +60,7 @@ void print_cpu_info(struct sa_cpu* cpu) {
- }
- void check_range(float cpu_time) {
- + cpu_time = round(cpu_time);
- if (cpu_time > 100.0 || cpu_time < 0.0) {
- printf("%s:%d ERROR: cpu time out of range: %f\n", __FILE__, __LINE__, cpu_time);
- error = 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement