"rId_device_network INT, "\
"rId_gps INT, "\
"rId_hrm INT, "\
-"rId_battery INT, "\
-"rId_newone INT, "\
-"rId_newtwo INT, "\
-"rId_newthree INT "\
+"rId_battery INT "\
");"
/* Battery Monitor RESOURCE ID Vs TIME */
"high_time INT "\
");"
+#define GBL_CPU_STAT_SCHEMA "create table gcpu_stat \n"\
+ "(\n"\
+"time_s LONG INT, "\
+"usr_time INT, "\
+"sys_time INT "\
+");"
+
#define OWNER_ROOT 0
/* Macros of Time Duration */
#define BATTERY_MONITOR_GBL_SGT_STAT_TABLE "gsgt_stat"
#define BATTERY_MONITOR_GBL_WST_STAT_TABLE "gwst_stat"
#define BATTERY_MONITOR_GBL_BST_STAT_TABLE "gbst_stat"
+#define BATTERY_MONITOR_GBL_CPU_STAT_TABLE "gcpu_stat"
#define BATTERY_MONITOR_SQLITE_SEQ "sqlite_sequence"
#define BATTERY_MONITOR_SQL_LEN_MAX 1024
-#define BATTERY_MONITOR_TABLE_COUNT 10
+#define BATTERY_MONITOR_TABLE_COUNT 11
typedef sqlite3_stmt *bm_stmt;