Moved energest.{c,h} from core/lib to core/sys: power profiling is a system mechanism, not a library

This commit is contained in:
adamdunkels 2008-07-03 23:36:30 +00:00
parent 93ce938d8d
commit 1f005b6299
5 changed files with 9 additions and 9 deletions

View file

@ -30,7 +30,7 @@
*
* Author: Adam Dunkels <adam@sics.se>
*
* $Id: contiki.h,v 1.4 2007/05/26 23:23:56 oliverschmidt Exp $
* $Id: contiki.h,v 1.5 2008/07/03 23:36:30 adamdunkels Exp $
*/
#ifndef __CONTIKI_H__
#define __CONTIKI_H__
@ -52,6 +52,6 @@
#include "sys/loader.h"
#include "sys/clock.h"
#include "lib/energest.h"
#include "sys/energest.h"
#endif /* __CONTIKI_H__ */

View file

@ -28,12 +28,12 @@
*
* This file is part of the Contiki operating system.
*
* @(#)$Id: leds.c,v 1.4 2007/03/19 00:33:25 adamdunkels Exp $
* @(#)$Id: leds.c,v 1.5 2008/07/03 23:36:30 adamdunkels Exp $
*/
#include "dev/leds.h"
#include "sys/clock.h"
#include "lib/energest.h"
#include "sys/energest.h"
static unsigned char leds, invert;
/*---------------------------------------------------------------------------*/

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: print-stats.c,v 1.3 2007/11/17 10:46:25 adamdunkels Exp $
* $Id: print-stats.c,v 1.4 2008/07/03 23:36:30 adamdunkels Exp $
*/
/**
@ -41,7 +41,7 @@
#include "lib/print-stats.h"
#include "net/rime.h"
#include "lib/energest.h"
#include "sys/energest.h"
#include <stdio.h>

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: energest.c,v 1.7 2008/06/02 13:12:07 nifi Exp $
* $Id: energest.c,v 1.1 2008/07/03 23:36:30 adamdunkels Exp $
*/
/**
@ -38,7 +38,7 @@
* Adam Dunkels <adam@sics.se>
*/
#include "lib/energest.h"
#include "sys/energest.h"
#include "contiki-conf.h"
#if ENERGEST_CONF_ON

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: energest.h,v 1.10 2008/06/02 13:12:07 nifi Exp $
* $Id: energest.h,v 1.1 2008/07/03 23:36:30 adamdunkels Exp $
*/
/**