diff options
Diffstat (limited to 'test/monniaux/latency/show_latency.c')
-rw-r--r-- | test/monniaux/latency/show_latency.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/monniaux/latency/show_latency.c b/test/monniaux/latency/show_latency.c new file mode 100644 index 00000000..3269450a --- /dev/null +++ b/test/monniaux/latency/show_latency.c @@ -0,0 +1,11 @@ +#include "../clock.h" + +extern void latency(int *p); + +int main() { + int x; + clock_start(); + latency(&x); + clock_stop(); + print_total_clock(); +} |