Skip to content

Commit

Permalink
Update internal time library to allow user defined now function (#17576)
Browse files Browse the repository at this point in the history
iree/base/config.h allows the user to define IREE_TIME_NOW_FN. Reinstate
the configurability after #17493
  • Loading branch information
hcindyl authored Jun 4, 2024
1 parent c03d81d commit 65bbc4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/src/iree/base/internal/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <time.h>

#include "iree/base/config.h"
#include "iree/base/target_platform.h"

int64_t iree_platform_time_now(void) {
Expand Down

0 comments on commit 65bbc4b

Please sign in to comment.