Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
e0f40a7f
Commit
e0f40a7f
authored
Jun 10, 2014
by
Roman Donchenko
Committed by
OpenCV Buildbot
Jun 10, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2841 from SpecLad:merge-2.4
parents
8681b52d
659d2133
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
linux_install.rst
doc/tutorials/introduction/linux_install/linux_install.rst
+1
-1
spinimages.cpp
modules/contrib/src/spinimages.cpp
+3
-3
No files found.
doc/tutorials/introduction/linux_install/linux_install.rst
View file @
e0f40a7f
...
...
@@ -23,7 +23,7 @@ The packages can be installed using a terminal and the following commands or by
.. code-block:: bash
[compiler] sudo apt-get install build-essential
[required] sudo apt-get install cmake git libgtk2-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
[required] sudo apt-get install cmake git libgtk2
.0
-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
[optional] sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev
Getting OpenCV Source Code
...
...
modules/contrib/src/spinimages.cpp
View file @
e0f40a7f
...
...
@@ -1190,9 +1190,9 @@ private:
cv
::
TickMeter
::
TickMeter
()
{
reset
();
}
int64
cv
::
TickMeter
::
getTimeTicks
()
const
{
return
sumTime
;
}
double
cv
::
TickMeter
::
getTime
Micro
()
const
{
return
(
double
)
getTimeTicks
()
/
getTickFrequency
();
}
double
cv
::
TickMeter
::
getTimeMilli
()
const
{
return
getTime
Micro
()
*
1e-
3
;
}
double
cv
::
TickMeter
::
getTime
Sec
()
const
{
return
getTimeMilli
()
*
1e-
3
;
}
double
cv
::
TickMeter
::
getTime
Sec
()
const
{
return
(
double
)
getTimeTicks
()
/
getTickFrequency
();
}
double
cv
::
TickMeter
::
getTimeMilli
()
const
{
return
getTime
Sec
()
*
1e
3
;
}
double
cv
::
TickMeter
::
getTime
Micro
()
const
{
return
getTimeMilli
()
*
1e
3
;
}
int64
cv
::
TickMeter
::
getCounter
()
const
{
return
counter
;
}
void
cv
::
TickMeter
::
reset
()
{
startTime
=
0
;
sumTime
=
0
;
counter
=
0
;
}
...
...
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