benchmark.h
Go to the documentation of this file.
1 /******************************************************************************/
35 /******************************************************************************/
36 
37 #if !defined(BENCHMARK_H_)
38 #define BENCHMARK_H_
39 
40 #if defined(__cplusplus)
41 extern "C" {
42 #endif
43 
44 #include "./../serial/serial_c_iface.h"
45 #include "../key_value/kv_system.h"
46 #include "ram/ram_util.h"
47 
48 static unsigned volatile int ram_counter;
49 static unsigned volatile int time_counter;
50 
51 void
53  void
54 );
55 
56 void
58  void
59 );
60 
61 #if defined(__cplusplus)
62 }
63 #endif
64 
65 #endif /* BENCHMARK_H_ */
static unsigned volatile int ram_counter
Definition: benchmark.h:48
void benchmark_stop(void)
Definition: benchmark.c:48
void benchmark_start(void)
Definition: benchmark.c:40
Utility function to check how many bytes of available RAM remains.
static unsigned volatile int time_counter
Definition: benchmark.h:49