Header file for the energy estimation mechanism
#include "sys/rtimer.h"
Data Structures | |
struct | energest_t |
Macros | |
#define | ENERGEST_OFF(type) do { } while(0) |
#define | ENERGEST_OFF_LEVEL(type, level) do { } while(0) |
#define | ENERGEST_ON(type) do { } while(0) |
Functions | |
void | energest_flush (void) |
void | energest_init (void) |
unsigned long | energest_leveldevice_leveltime (int powerlevel) |
void | energest_type_set (int type, unsigned long value) |
unsigned long | energest_type_time (int type) |
Referenced by _TC3_Handler(), _TC4_Handler(), off(), rf212_transmit(), rf233_transmit(), rtimer_arch_sleep(), and show_leds().
Referenced by _TC3_Handler(), _TC4_Handler(), main(), on(), rf212_transmit(), rf233_transmit(), rtimer_arch_sleep(), and show_leds().
enum energest_type |
void energest_flush | ( | void | ) |
Referenced by _TC3_Handler(), compower_accumulate(), and PROCESS_THREAD().
void energest_init | ( | void | ) |
Referenced by main().
unsigned long energest_leveldevice_leveltime | ( | int | powerlevel | ) |
void energest_type_set | ( | int | type, |
unsigned long | value | ||
) |
unsigned long energest_type_time | ( | int | type | ) |
Referenced by compower_accumulate(), and PROCESS_THREAD().