mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
This more accurately determines when the process was started, since it is not affected by the overhead of running linked library `init` code and initializing `runsc`'s CLI code. Additionally, when `runsc` execs itself, preserve this time across the exec. Also move the code that determines the start time earlier in the file. PiperOrigin-RevId: 752025678
16 lines
286 B
Python
16 lines
286 B
Python
load("//tools:defs.bzl", "go_library")
|
|
|
|
package(
|
|
default_applicable_licenses = ["//:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
go_library(
|
|
name = "starttime",
|
|
srcs = [
|
|
"starttime.go",
|
|
],
|
|
visibility = ["//runsc:__subpackages__"],
|
|
deps = ["//pkg/timing"],
|
|
)
|