const timer=@import(timer.zig);
//import timer
pub fn main() !void{
timer.start()
//start the timer
do something
timer.end()
//timing and print time
timer.back_data(T)
//timing and return data by type of T
}
-
Notifications
You must be signed in to change notification settings - Fork 0
weige258/zig-timer
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A timer build by zig
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published