Skip to content
Myr

timing.h

This file

Path

timing.h

12 lines · 356 bytes · C

Last changed by

timing: rename time_end() -> time_finish()Daniel Eklöfbefore adoptiond226f7f

History of this file

Take it

1#pragma once23#include <time.h>45void time_init(void);6void time_enable(void);78void time_since_boot(const char *fmt, ...) __attribute__((format(printf, 1, 2)));910struct timespec *time_begin(void);11struct timespec *time_end(void);12void time_finish(struct timespec *start, struct timespec *stop, const char *fmt, ...) __attribute__((format(printf, 3, 4)));