Changeset 68655bc2 in mainline


Ignore:
Timestamp:
2023-12-13T22:42:34Z (13 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, topic/simplify-dev-export
Children:
f393bc0
Parents:
381c426
Message:

Fix default time computation in hbench

Location:
uspace/app/hbench
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/hbench/env.c

    r381c426 r68655bc2  
    9797
    9898        env->run_count = DEFAULT_RUN_COUNT;
    99         env->minimal_run_duration_nanos = MSEC2NSEC(DEFAULT_MIN_RUN_DURATION_SEC);
     99        env->minimal_run_duration_nanos = MSEC2NSEC(DEFAULT_MIN_RUN_DURATION_MSEC);
    100100
    101101        return EOK;
  • uspace/app/hbench/hbench.h

    r381c426 r68655bc2  
    4343
    4444#define DEFAULT_RUN_COUNT 10
    45 #define DEFAULT_MIN_RUN_DURATION_SEC 10
     45#define DEFAULT_MIN_RUN_DURATION_MSEC 1000
    4646
    4747/** Single run information.
Note: See TracChangeset for help on using the changeset viewer.