Searched defs:uptime (Results 1 - 23 of 23) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/app_mode/
H A Dkiosk_app_update_service_browsertest.cc51 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/iptables/include/linux/
H A Dkernel.h13 long uptime; /* Seconds since boot */ member in struct:sysinfo
/external/kernel-headers/original/uapi/linux/
H A Dsysinfo.h8 __kernel_long_t uptime; /* Seconds since boot */ member in struct:sysinfo
/external/chromium_org/chrome/browser/chromeos/
H A Dboot_times_loader.h55 // 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_.)
H A Dboot_times_loader.cc49 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...]
/external/chromium_org/cloud_print/gcp20/prototype/
H A Dprivet_http_server.h52 int uptime; member in struct:PrivetHttpServer::DeviceInfo
/external/chromium_org/chrome/browser/chromeos/system/
H A Dautomatic_reboot_manager.cc108 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 Dautomatic_reboot_manager_unittest.cc56 // 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/chromium_org/components/crash/browser/
H A Dcrash_handler_host_linux.cc162 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/dhcpcd/
H A Dcommon.c230 uptime(void) function
/external/chromium_org/chrome/browser/local_discovery/
H A Dprivet_notifications.cc50 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 Dnexe_load_manager.cc111 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/iproute2/misc/
H A Dnstat.c563 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) {
H A Drtacct.c583 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 Difstat.c711 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) {
/external/chromium_org/chrome/browser/safe_browsing/incident_reporting/
H A Dincident_reporting_service.cc612 base::TimeDelta uptime = local
614 environment_data->mutable_process()->set_uptime_msec(uptime.InMilliseconds());
/external/chromium_org/components/metrics/
H A Dmetrics_log.cc218 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 Dmetrics_service.cc649 // 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
/external/tcpdump/
H A Dprint-sflow.c57 * | Switch uptime in ms |
70 u_int8_t uptime[4]; member in struct:sflow_datagram_t
850 printf("sFlowv%u, %s agent %s, agent-id %u, seqnum %u, uptime %u, samples %u, length %u",
856 EXTRACT_32BITS(sflow_datagram->uptime),
/external/wpa_supplicant_8/hostapd/src/radius/
H A Dradius_server.c1853 int ret, uptime; local
1868 uptime = (now.sec - data->start_time.sec) * 100 +
1876 uptime);
/external/wpa_supplicant_8/src/radius/
H A Dradius_server.c1853 int ret, uptime; local
1868 uptime = (now.sec - data->start_time.sec) * 100 +
1876 uptime);
/external/wpa_supplicant_8/wpa_supplicant/src/radius/
H A Dradius_server.c1853 int ret, uptime; local
1868 uptime = (now.sec - data->start_time.sec) * 100 +
1876 uptime);
/external/valgrind/main/include/vki/
H A Dvki-linux.h256 long uptime; /* Seconds since boot */ member in struct:vki_sysinfo

Completed in 623 milliseconds