Astaroth  3.1
Scalable Multi-GPU Stencil Computations
Loading...
Searching...
No Matches
timer_hires.h File Reference

High-resolution timer. More...

#include <stdio.h>
#include <time.h>
#include "func_define.h"
Include dependency graph for timer_hires.h:

Go to the source code of this file.

Typedefs

typedef struct timespec Timer

Detailed Description

High-resolution timer.

Usage: Timer t; timer_reset(&t); timer_diff_nsec(t);

If there are issues, try compiling with -std=gnu11 -lrt

Typedef Documentation

◆ Timer

typedef struct timespec Timer