libmcl-sys 0.1.2-rc1

This system crate provides Rust language bindings to the Minos Compute Library (MCL)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef MCL_TRACE_H
#define MCL_TRACE_H

#include <time.h>

#include <atomics.h>

#ifdef _TRACE
#define trace_timestamp(t) clock_gettime(CLOCK_MONOTONIC, &t);
#define TRprintf(fmt, args...) fprintf(stderr,"[MCL TRACE] [%s:%d] " fmt "\n", __FILE__, __LINE__, ##args)
#else

#define trace_timestamp(t)
#define TRprintf(fmt, args...)
#endif

#endif