We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5167a7 commit b456752Copy full SHA for b456752
3 files changed
vlib/v/preludes/profiled_program.v
@@ -1,8 +1,3 @@
1
module main
2
3
-import time
4
-import v.profile
5
-
6
-const profiled_program_time_used = time.seconds_per_minute
7
8
-const profiled_program_profile_used = profile.state()
+import v.profile as _
vlib/v/preludes_js/profiled_program.v
@@ -0,0 +1,3 @@
+module main
+
vlib/v/profile/api.v
@@ -1,6 +1,8 @@
@[has_globals]
module profile
+import time as _
__global v__profile_enabled = true
pub fn state() bool {
0 commit comments