Searched refs:idletime (Results 1 – 2 of 2) sorted by relevance
/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/ |
D | perf_rt.c | 236 static void get_uptime(double *uptime, double *idletime) in get_uptime() argument 241 fscanf(fUptime, "%lg %lg", uptime, idletime); in get_uptime() 246 *uptime = *idletime = 0.; in get_uptime() 252 double uptime, idletime; in start_stop_uptime() local 257 get_uptime(&uptime, &idletime); in start_stop_uptime() 260 if (dUptime->success && uptime && idletime) in start_stop_uptime() 262 dUptime->start_idletime = idletime - dUptime->start_idletime; in start_stop_uptime() 264 dUptime->last_idletime = idletime - dUptime->last_idletime; in start_stop_uptime() 727 double uptime, idletime, load = 0; in __rt_Buffer() local 730 get_uptime(&uptime, &idletime); in __rt_Buffer() [all …]
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | dhdu.c | 1114 int32 idletime; in dhd_idletime() local 1120 idletime = 0; in dhd_idletime() 1122 idletime = DHD_IDLE_IMMEDIATE; in dhd_idletime() 1124 idletime = strtol(argv[1], &endptr, 0); in dhd_idletime() 1130 if ((idletime < 0) && (idletime != DHD_IDLE_IMMEDIATE)) { in dhd_idletime() 1138 memcpy(endptr, &idletime, sizeof(uint32)); in dhd_idletime() 1146 idletime = *(int32*)buf; in dhd_idletime() 1148 if (idletime == 0) { in dhd_idletime() 1150 } else if (idletime == DHD_IDLE_IMMEDIATE) { in dhd_idletime() 1152 } else if (idletime > 0) { in dhd_idletime() [all …]
|