Commit graph

10 commits

Author SHA1 Message Date
nifi
d76474bc13 Changed energest_type_time() to first update the total time, if the device
is currently active, before returning the total time.

Added energest_flush() that updates the total time for all currently
active devices. It should be called periodically to avoid the time to
overflow for devices that are active for long periods of time.
2008-06-02 13:12:07 +00:00
adamdunkels
d9b52d1585 Added ENEGEST_SECOND 2008-01-21 12:36:17 +00:00
thiemovoigt
304898cd79 added support for devices with power levels (e.g. TX radio) 2008-01-14 16:18:39 +00:00
oliverschmidt
552969ed24 Adjusted include path. 2007-11-17 21:24:50 +00:00
adamdunkels
8d79ef2219 Include rtimer.h instead of rtimer-arch.h 2007-11-17 10:46:02 +00:00
adamdunkels
a9e4287cbe Changed the energy estimation type ENERGEST_TYPE_RECEIVE to ENERGEST_TYPE_LISTEN to highlight that energy is spent on idle listening, not just the actual reception of packets 2007-10-25 09:30:39 +00:00
adamdunkels
9b6f6d6822 Added IRQ and SERIAL component. 2007-05-22 20:53:04 +00:00
adamdunkels
5c79330b41 Made scalar values explicitly unsigned long. Preliminary support for cummulative estimates (larger than 32 bits) 2007-05-15 07:54:03 +00:00
oliverschmidt
6b1432f69d Changed variable declaration into type definition - as most likely originally intended. 2007-03-25 09:20:53 +00:00
adamdunkels
bba0485797 Experimental energy estimation code 2007-03-19 00:30:13 +00:00