/external/iptables/include/linux/ |
H A D | kernel.h | 13 long uptime; /* Seconds since boot */ member in struct:sysinfo
|
/external/kernel-headers/original/uapi/linux/ |
H A D | sysinfo.h | 8 __kernel_long_t uptime; /* Seconds since boot */ member in struct:sysinfo
|
/external/chromium_org/chrome/browser/chromeos/ |
H A D | boot_times_loader.cc | 49 const char kUptime[] = "uptime"; 98 // Dir uptime & disk logs are located in. 104 static const base::FilePath::CharType kUptimePrefix[] = FPL("uptime-"); 136 const base::FilePath kProcUptime(FPL("/proc/uptime")); 190 std::string uptime = uptime_; local 191 const size_t space_at = uptime.find_first_of(' '); 195 uptime.resize(space_at); 197 if (base::StringToDouble(uptime, result)) 380 if (logout_started_last_stats.uptime().empty()) 384 double uptime; local 404 const std::string uptime = Stats::GetCurrentStats().SerializeToString(); local [all...] |
H A D | boot_times_loader.h | 55 // Records current uptime and disk usage for metrics use. 143 const std::string& uptime() const { return uptime_; } function in class:chromeos::BootTimesLoader::Stats 146 // Writes "uptime in seconds" to result. (This is first field in uptime_.)
|
/external/chromium_org/chrome/browser/chromeos/app_mode/ |
H A D | kiosk_app_update_service_browsertest.cc | 51 const base::TimeDelta uptime = base::TimeDelta::FromHours(1); variable 53 base::DoubleToString(uptime.InSecondsF()); 54 const base::FilePath uptime_file = temp_dir.Append("uptime");
|
/external/chromium_org/components/metrics/ |
H A D | metrics_log.h | 119 base::TimeDelta uptime); 175 base::TimeDelta uptime);
|
H A D | metrics_log.cc | 218 base::TimeDelta uptime) { 236 WriteRealtimeStabilityAttributes(pref, incremental_uptime, uptime); 313 base::TimeDelta uptime) { 324 const uint64 uptime_sec = uptime.InSeconds(); 215 RecordStabilityMetrics( const std::vector<metrics::MetricsProvider*>& metrics_providers, base::TimeDelta incremental_uptime, base::TimeDelta uptime) argument 310 WriteRealtimeStabilityAttributes( PrefService* pref, base::TimeDelta incremental_uptime, base::TimeDelta uptime) argument
|
H A D | metrics_service.cc | 649 // Kick off the process of saving the state (so the uptime numbers keep 677 base::TimeDelta* uptime) { 686 *uptime = now - first_updated_time_; 774 base::TimeDelta uptime; local 775 GetUptimes(local_state_, &incremental_uptime, &uptime); 777 incremental_uptime, uptime); 981 base::TimeDelta uptime; local 982 GetUptimes(local_state_, &incremental_uptime, &uptime); 675 GetUptimes(PrefService* pref, base::TimeDelta* incremental_uptime, base::TimeDelta* uptime) argument
|
H A D | metrics_service.h | 258 // Get the amount of uptime since this process started and since the last 259 // call to this function. Also updates the cumulative uptime metric (stored 266 base::TimeDelta* uptime); 349 // Records state that should be periodically saved, like uptime and
|
/external/chromium_org/tools/memory_inspector/memory_inspector/core/ |
H A D | backends.py | 156 def __init__(self, uptime, cpu_times, memory_stats): 158 uptime: uptime in seconds. 165 self.uptime = uptime 176 run_time: Total process uptime in seconds.
|
/external/chromium_org/chrome/browser/chromeos/system/ |
H A D | automatic_reboot_manager.cc | 108 const base::TimeDelta uptime = ReadTimeDeltaFromFile(uptime_file); local 109 if (uptime == kZeroTimeDelta) 120 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 | 56 // corresponding device uptime is written to |uptime_file_|, providing a mock 57 // for /proc/uptime. 73 void SetUptime(const base::TimeDelta& uptime); 131 void SetUpdateRebootNeededUptime(const base::TimeDelta& uptime); 143 bool ReadUpdateRebootNeededUptimeFromFile(base::TimeDelta* uptime); 151 // The uptime is read in the blocking thread pool and then processed on the 152 // UI thread. This causes the UI thread to start processing the uptime when it 155 // the uptime seen by the UI thread. 208 const base::TimeDelta& uptime) { 209 if (path.empty() || uptime 207 SaveUptimeToFile(const base::FilePath& path, const base::TimeDelta& uptime) argument 247 SetUptime(const base::TimeDelta& uptime) argument 384 SetUpdateRebootNeededUptime( const base::TimeDelta& uptime) argument 478 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_org/components/crash/browser/ |
H A D | crash_handler_host_linux.cc | 162 uint64_t uptime; local 168 sizeof(uptime) + 180 iov[3].iov_base = &uptime; 181 iov[3].iov_len = sizeof(uptime); 316 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 | 50 const char kPrivetInfoKeyUptime[] = "uptime"; 140 int uptime; local 143 !json_value->GetInteger(kPrivetInfoKeyUptime, &uptime) || 144 uptime > kTenMinutesInSeconds) {
|
/external/chromium_org/components/nacl/renderer/ |
H A D | nexe_load_manager.cc | 111 base::TimeDelta uptime = base::Time::Now() - ready_time_; local 112 HistogramTimeLarge("NaCl.ModuleUptime.Normal", uptime.InMilliseconds()); 458 base::TimeDelta uptime = base::Time::Now() - ready_time_; local 459 HistogramTimeMedium("NaCl.ModuleUptime.Crash", uptime.InMilliseconds());
|
/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_org/tools/memory_inspector/memory_inspector/backends/ |
H A D | android_backend.py | 316 uptime = cur['time']['ticks'] / cur['time']['rate'] 340 return backends.DeviceStats(uptime=uptime,
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
H A D | privet_http_server.h | 52 int uptime; member in struct:PrivetHttpServer::DeviceInfo
|