Home
last modified time | relevance | path

Searched refs:uptime (Results 1 – 25 of 37) sorted by relevance

12

/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-small-debug-shell-file-write.md37 举例:writeproc test >> /proc/uptime
43 OHOS \# writeproc test >> /proc/uptime
47 test >> /proc/uptime
51 > uptime proc文件临时实现write函数,INFO日志为实现的测试函数打印的日志。
/ohos5.0/base/startup/init/services/init/
H A Dmain.c28 const char *uptime = NULL; in main() local
36 uptime = argv[2]; in main()
61 SystemConfig(uptime); in main()
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-small-debug-shell-file-write.md37 Run **writeproc test >> /proc/uptime**.
43 OHOS \# writeproc test >> /proc/uptime
47 test >> /proc/uptime
51 > The **uptime** proc file temporarily implements the **write()** function. The **INFO** log is gen…
/ohos5.0/base/startup/init/services/init/standard/
H A Dinit.c122 static void WriteUptimeSysParam(const char *param, const char *uptime) in WriteUptimeSysParam() argument
126 if (uptime == NULL) { in WriteUptimeSysParam()
129 uptime = buf; in WriteUptimeSysParam()
131 SystemWriteParam(param, uptime); in WriteUptimeSysParam()
273 void SystemConfig(const char *uptime) in SystemConfig() argument
321 WriteUptimeSysParam("ohos.boot.time.kernel", uptime); in SystemConfig()
H A Dinit_firststage.c128 static void StartSecondStageInit(long long uptime) in StartSecondStageInit() argument
135 uptime = GetUptimeInMicroSeconds(NULL); in StartSecondStageInit()
136 INIT_CHECK_ONLY_ELOG(snprintf_s(buf, sizeof(buf), sizeof(buf) - 1, "%lld", uptime) >= 0, in StartSecondStageInit()
/ohos5.0/base/startup/init/services/init/include/
H A Dinit.h45 void SystemPrepare(long long uptime);
46 void SystemConfig(const char *uptime);
/ohos5.0/base/startup/init/services/init/lite/
H A Dinit.c49 void SystemPrepare(long long uptime) in SystemPrepare() argument
63 void SystemConfig(const char *uptime) in SystemConfig() argument
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-toolchain-bytrace-guide.md17 | -t _n_, --time _n_ | Sets the bytrace uptime in seconds, which depends on the time requ…
18 …stamp to a trace, which can be **boot** (default), **global**, **mono**, **uptime**, or **perf**. |
43 - Capture traces whose label is ability, with the buffer size set to 4096 KB and bytrace uptime s…
H A Dsubsys-dfx-hitracemeter.md277 | -t *n*, --time *n* | Sets the trace uptime in seconds, which depends on the time r…
278 …mp to a trace. The value can be **boot** (default), **global**, **mono**, **uptime**, or **perf**.|
/ohos5.0/docs/en/application-dev/dfx/
H A Dhitrace.md21 | -t N | Sets the trace uptime in seconds, which depends on the time required for analysis. The def…
24 …mp to a trace. The value can be **boot** (default), **global**, **mono**, **uptime**, or **perf**.|
55 - Trace uptime: 10s
/ohos5.0/base/startup/init/services/utils/
H A Dinit_utils.c825 long long GetUptimeInMicroSeconds(const struct timespec *uptime) in GetUptimeInMicroSeconds() argument
829 if (uptime == NULL) { in GetUptimeInMicroSeconds()
831 uptime = &now; in GetUptimeInMicroSeconds()
837 return ((long long)uptime->tv_sec * SECOND_TO_MICRO_SECOND) + in GetUptimeInMicroSeconds()
838 (uptime->tv_nsec / MICRO_SECOND_TO_NANOSECOND); in GetUptimeInMicroSeconds()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkts/
H A Djs-apis-process.md154 ## process.uptime
156 uptime(): number
173 let time = process.uptime();
/ohos5.0/commonlibrary/ets_utils/platform/default/
H A Dprocess_helper.cpp49 systimer = information.uptime; in GetSysTimer()
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-toolchain-bytrace-guide.md20 | --trace_clock _clock_ | trace输出的时钟类型,一般设备支持boot、global、mono、uptime、perf等,默认为boot |
H A Dsubsys-dfx-hitracemeter.md278 | --trace_clock clock | trace输出的时钟类型,一般设备支持boot、global、mono、uptime、perf等,默认为boot |
/ohos5.0/base/startup/init/services/modules/bootevent/
H A Dbootevent.c308 long long uptime; in WriteBooteventSysParam() local
311 uptime = GetUptimeInMicroSeconds(NULL); in WriteBooteventSysParam()
313 INIT_CHECK_ONLY_ELOG(snprintf_s(buf, sizeof(buf), sizeof(buf) - 1, "%lld", uptime) >= 0, in WriteBooteventSysParam()
/ohos5.0/base/startup/init/interfaces/innerkits/include/
H A Dinit_utils.h177 long long GetUptimeInMicroSeconds(const struct timespec *uptime);
/ohos5.0/docs/zh-cn/application-dev/web/
H A Dweb-crashpad.md28 Process uptime: 12 seconds
/ohos5.0/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Ddfx_process.cpp208 uint64_t upTime = si.uptime - startTime / static_cast<uint32_t>(sysconf(_SC_CLK_TCK)); in GetProcessLifeCycle()
/ohos5.0/base/hiviewdfx/hiview/plugins/performance/
H A DXperfEvt.h65 int64_t uptime{0};
/ohos5.0/docs/en/application-dev/reference/apis-arkts/
H A Djs-apis-process.md154 ## process.uptime
156 uptime(): number
173 let time = process.uptime();
/ohos5.0/docs/en/application-dev/web/
H A Dweb-crashpad.md28 Process uptime: 12 seconds
/ohos5.0/docs/zh-cn/application-dev/tools/
H A Dtoybox.md123 | uptime | 显示当前时间,系统运行了多长时间,用户数量,以及过去1、5和15分钟的系统负载平均值。<br />usage: uptime [-ps] |
/ohos5.0/base/security/selinux_adapter/sepolicy/base/system/
H A Dvirtfs_contexts56 genfscon proc /uptime u:object_r:proc_uptime_file:s0
/ohos5.0/docs/en/readme/
H A Ddevelopment-toolchain.md69 …<a name="p1396913162213"></a><a name="p1396913162213"></a>Sets the trace uptime, in seconds. The v…
74 …rong> (default), <strong>global</strong>, <strong>mono</strong>, <strong>uptime</strong>, or <stro…

12