/external/libppp/src/ |
H A D | throughput.c | 61 t->uptime = 0; 87 if (t->uptime && downat < t->uptime) { 94 t->uptime = downat; 96 return t->uptime ? downat - t->uptime : 0; 136 if (t->uptime) { 164 int uptime, divisor; local 169 uptime = throughput_uptime(t); 170 divisor = uptime < [all...] |
H A D | throughput.h | 37 time_t uptime, downtime; member in struct:pppThroughput
|
/external/iptables/include/linux/ |
H A D | kernel.h | 14 long uptime; /* Seconds since boot */ member in struct:sysinfo
|
/external/chromium_org/chrome/browser/chromeos/app_mode/ |
H A D | kiosk_app_update_service_browsertest.cc | 50 const base::TimeDelta uptime = base::TimeDelta::FromHours(1); variable 52 base::DoubleToString(uptime.InSecondsF()); 53 const base::FilePath uptime_file = temp_dir.Append("uptime");
|
/external/chromium_org/chrome/browser/chromeos/system/ |
H A D | automatic_reboot_manager.cc | 107 const base::TimeDelta uptime = ReadTimeDeltaFromFile(uptime_file); local 108 if (uptime == kZeroTimeDelta) 119 base::DoubleToString(uptime.InSecondsF()); 133 const base::TimeDelta& uptime, 138 if (uptime == kZeroTimeDelta) 140 boot_time = base::TimeTicks::Now() - uptime; 313 // unavailable because /proc/uptime could not be read, do nothing. 324 // If an uptime limit is set, calculate the time at which it should cause a 353 // Safeguard against reboot loops: Ensure that the uptime after which a reboot 132 SystemEventTimes( const base::TimeDelta& uptime, const base::TimeDelta& update_reboot_needed_uptime) argument
|
H A D | automatic_reboot_manager.h | 40 // * If an uptime limit is set through policy, a reboot is scheduled when the 41 // device's uptime reaches the limit. Time spent sleeping counts as uptime as 68 // Reboots are scheduled in terms of device uptime. The current uptime is read 69 // from /proc/uptime. The time at which a reboot became necessary to finish 78 // The current uptime and the uptime at which an update was applied and a 83 SystemEventTimes(const base::TimeDelta& uptime,
|
H A D | automatic_reboot_manager_unittest.cc | 57 // corresponding device uptime is written to |uptime_file_|, providing a mock 58 // for /proc/uptime. 74 void SetUptime(const base::TimeDelta& uptime); 132 void SetUpdateRebootNeededUptime(const base::TimeDelta& uptime); 144 bool ReadUpdateRebootNeededUptimeFromFile(base::TimeDelta* uptime); 152 // The uptime is read in the blocking thread pool and then processed on the 153 // UI thread. This causes the UI thread to start processing the uptime when it 156 // the uptime seen by the UI thread. 209 const base::TimeDelta& uptime) { 210 if (path.empty() || uptime 208 SaveUptimeToFile(const base::FilePath& path, const base::TimeDelta& uptime) argument 249 SetUptime(const base::TimeDelta& uptime) argument 387 SetUpdateRebootNeededUptime( const base::TimeDelta& uptime) argument 482 ReadUpdateRebootNeededUptimeFromFile( base::TimeDelta* uptime) argument [all...] |
/external/dhcpcd/ |
H A D | common.h | 77 time_t uptime(void);
|
H A D | ipv4ll.c | 129 up = uptime();
|
H A D | common.c | 230 uptime(void) function
|
/external/chromium/chrome/browser/ |
H A D | crash_handler_host_linux.cc | 133 uint64_t uptime; local 141 sizeof(uptime); 155 iov[6].iov_base = &uptime; 156 iov[6].iov_len = sizeof(uptime); 307 info->process_start_time = uptime;
|
/external/chromium_org/third_party/WebKit/Source/platform/mac/ |
H A D | ScrollElasticityController.mm | 50 struct timeval uptime; 51 timersub(&now, &boottime, &uptime); 52 NSTimeInterval result = uptime.tv_sec + (uptime.tv_usec / 1E+6);
|
/external/chromium/chrome/browser/chromeos/ |
H A D | boot_times_loader.cc | 34 // File uptime logs are located in. 37 static const FilePath::CharType kUptimePrefix[] = FPL("uptime-"); 107 // Extracts the uptime value from files located in /tmp, returning the 236 const std::string& uptime, 244 AppendFile(uptime_output, uptime.data(), uptime.size()); 313 RecordStatsDelayed, name, stats.uptime, stats.disk)); 317 const FilePath kProcUptime(FPL("/proc/uptime")); 321 file_util::ReadFileToString(kProcUptime, &stats.uptime); 235 RecordStatsDelayed(const FilePath::StringType& name, const std::string& uptime, const std::string& disk) argument
|
H A D | boot_times_loader.h | 84 // Records current uptime and disk usage for metrics use. 148 std::string uptime; member in struct:chromeos::BootTimesLoader::Stats
|
/external/chromium_org/chrome/browser/chromeos/ |
H A D | boot_times_loader.cc | 78 // Dir uptime & disk logs are located in. 84 static const base::FilePath::CharType kUptimePrefix[] = FPL("uptime-"); 142 const std::string& uptime, 151 AppendFile(uptime_output, uptime.data(), uptime.size()); 254 base::Bind(&RecordStatsDelayed, name, stats.uptime, stats.disk)); 258 const base::FilePath kProcUptime(FPL("/proc/uptime")); 262 base::ReadFileToString(kProcUptime, &stats.uptime); 141 RecordStatsDelayed(const base::FilePath::StringType& name, const std::string& uptime, const std::string& disk) argument
|
H A D | boot_times_loader.h | 51 // Records current uptime and disk usage for metrics use. 118 std::string uptime; member in struct:chromeos::BootTimesLoader::Stats
|
/external/chromium_org/components/breakpad/browser/ |
H A D | crash_handler_host_linux.cc | 164 uint64_t uptime; local 171 sizeof(uptime) + 185 iov[4].iov_base = &uptime; 186 iov[4].iov_len = sizeof(uptime); 355 info->process_start_time = uptime;
|
/external/iproute2/misc/ |
H A D | rtacct.c | 583 long uptime = -1; local 584 if ((tfp = fopen("/proc/uptime", "r")) != NULL) { 585 if (fscanf(tfp, "%ld", &uptime) != 1) 586 uptime = -1; 590 if (uptime >= 0 && time(NULL) >= stb.st_mtime+uptime) {
|
H A D | ifstat.c | 711 long uptime = -1; local 712 if ((tfp = fopen("/proc/uptime", "r")) != NULL) { 713 if (fscanf(tfp, "%ld", &uptime) != 1) 714 uptime = -1; 717 if (uptime >= 0 && time(NULL) >= stb.st_mtime+uptime) {
|
H A D | nstat.c | 563 long uptime = -1; local 564 if ((tfp = fopen("/proc/uptime", "r")) != NULL) { 565 if (fscanf(tfp, "%ld", &uptime) != 1) 566 uptime = -1; 569 if (uptime >= 0 && time(NULL) >= stb.st_mtime+uptime) {
|
/external/chromium_org/chrome/browser/local_discovery/ |
H A D | privet_notifications.cc | 46 const char kPrivetInfoKeyUptime[] = "uptime"; 135 int uptime; local 138 !json_value->GetInteger(kPrivetInfoKeyUptime, &uptime) || 139 uptime > kTenMinutesInSeconds) {
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
H A D | privet_http_server.h | 52 int uptime; member in struct:PrivetHttpServer::DeviceInfo
|
H A D | privet_http_server.cc | 89 PrivetHttpServer::DeviceInfo::DeviceInfo() : uptime(0) { 255 response->SetInteger("uptime", info.uptime);
|
/external/kernel-headers/original/linux/ |
H A D | kernel.h | 323 long uptime; /* Seconds since boot */ member in struct:sysinfo
|
/external/strace/ |
H A D | resource.c | 401 tprintf("{uptime=%lu, loads=[%lu, %lu, %lu] ", 402 si.uptime, si.loads[0], si.loads[1],
|