Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE-old
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
PortWINE-old
Commits
9825784f
Commit
9825784f
authored
Aug 05, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'update-debug-timer' of github.com:Htylol/PortWINE into Htylol-update-debug-timer
parents
358f674c
e71a798f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
functions_helper
data_from_portwine/scripts/functions_helper
+5
-1
No files found.
data_from_portwine/scripts/functions_helper
View file @
9825784f
...
...
@@ -481,7 +481,11 @@ debug_timer () {
elif
[[
"
$1
"
==
"--end"
]]
;
then
END
=
$(
date
+%s%N
)
DIFF
=
$((
(
$END
-
$START
)/
1000000
))
print_warning
"It took
$DIFF
milliseconds for
$2
"
if
[[
-n
"
$2
"
]]
;
then
print_warning
"It took
$DIFF
milliseconds for
$2
"
else
print_warning
"It took
$DIFF
milliseconds"
fi
fi
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment