/ohos5.0/docs/zh-cn/device-dev/kernel/ |
H A D | kernel-small-debug-shell-file-write.md | 37 举例: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 D | main.c | 28 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 D | kernel-small-debug-shell-file-write.md | 37 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 D | init.c | 122 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 D | init_firststage.c | 128 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 D | init.h | 45 void SystemPrepare(long long uptime); 46 void SystemConfig(const char *uptime);
|
/ohos5.0/base/startup/init/services/init/lite/ |
H A D | init.c | 49 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 D | subsys-toolchain-bytrace-guide.md | 17 | -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 D | subsys-dfx-hitracemeter.md | 277 | -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 D | hitrace.md | 21 | -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 D | init_utils.c | 825 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 D | js-apis-process.md | 154 ## process.uptime 156 uptime(): number 173 let time = process.uptime();
|
/ohos5.0/commonlibrary/ets_utils/platform/default/ |
H A D | process_helper.cpp | 49 systimer = information.uptime; in GetSysTimer()
|
/ohos5.0/docs/zh-cn/device-dev/subsystems/ |
H A D | subsys-toolchain-bytrace-guide.md | 20 | --trace_clock _clock_ | trace输出的时钟类型,一般设备支持boot、global、mono、uptime、perf等,默认为boot |
|
H A D | subsys-dfx-hitracemeter.md | 278 | --trace_clock clock | trace输出的时钟类型,一般设备支持boot、global、mono、uptime、perf等,默认为boot |
|
/ohos5.0/base/startup/init/services/modules/bootevent/ |
H A D | bootevent.c | 308 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 D | init_utils.h | 177 long long GetUptimeInMicroSeconds(const struct timespec *uptime);
|
/ohos5.0/docs/zh-cn/application-dev/web/ |
H A D | web-crashpad.md | 28 Process uptime: 12 seconds
|
/ohos5.0/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | dfx_process.cpp | 208 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 D | XperfEvt.h | 65 int64_t uptime{0};
|
/ohos5.0/docs/en/application-dev/reference/apis-arkts/ |
H A D | js-apis-process.md | 154 ## process.uptime 156 uptime(): number 173 let time = process.uptime();
|
/ohos5.0/docs/en/application-dev/web/ |
H A D | web-crashpad.md | 28 Process uptime: 12 seconds
|
/ohos5.0/docs/zh-cn/application-dev/tools/ |
H A D | toybox.md | 123 | uptime | 显示当前时间,系统运行了多长时间,用户数量,以及过去1、5和15分钟的系统负载平均值。<br />usage: uptime [-ps] |
|
/ohos5.0/base/security/selinux_adapter/sepolicy/base/system/ |
H A D | virtfs_contexts | 56 genfscon proc /uptime u:object_r:proc_uptime_file:s0
|
/ohos5.0/docs/en/readme/ |
H A D | development-toolchain.md | 69 …<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…
|