mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: implement -profile support.
This commit is contained in:
7
cmd/tools/preludes/profiled_program.v
Normal file
7
cmd/tools/preludes/profiled_program.v
Normal file
@ -0,0 +1,7 @@
|
||||
module main
|
||||
|
||||
import time
|
||||
|
||||
const (
|
||||
profiled_program_time_used = time.sys_mono_now()
|
||||
)
|
Reference in New Issue
Block a user