1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

all: re-apply C++ support

This commit is contained in:
Uwe Krüger
2020-05-18 21:38:06 +02:00
committed by GitHub
parent 895cefe351
commit 2635be511f
33 changed files with 261 additions and 150 deletions

View File

@@ -12,7 +12,7 @@ pub mut:
}
pub fn new_stopwatch() StopWatch {
return StopWatch{start: time.sys_mono_now()}
return StopWatch{pause_time: 0, start: time.sys_mono_now(), end: 0}
}
// start Starts the timer. If the timer was paused, restarts counting.