mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-26 16:11:02 +08:00
Update README.md
This commit is contained in:
parent
9b0e7fabc5
commit
fca1a9c873
@ -14,7 +14,7 @@ For example, information for 12 millions of blocks is using less than 300Mb of m
|
|||||||
Working profiler slows your application execution for only 1-2%.
|
Working profiler slows your application execution for only 1-2%.
|
||||||
|
|
||||||
Disabled profiler will not affect your application execution in any way. You can leave it in your Release build
|
Disabled profiler will not affect your application execution in any way. You can leave it in your Release build
|
||||||
and enable it in run-time at any moment during application launch to see what is happening at the moment.
|
and enable it at run-time at any moment during application launch to see what is happening at the moment.
|
||||||
|
|
||||||
Also the library can capture system's context switch events between threads. Context switch information includes
|
Also the library can capture system's context switch events between threads. Context switch information includes
|
||||||
duration, target thread id, thread owner process id, thread owner process name.
|
duration, target thread id, thread owner process id, thread owner process name.
|
||||||
@ -82,10 +82,10 @@ void bar() {
|
|||||||
|
|
||||||
For core:
|
For core:
|
||||||
* compiler with c++11 support
|
* compiler with c++11 support
|
||||||
* cmake 3.0 or later
|
* cmake 3.0 or higher
|
||||||
|
|
||||||
For GUI:
|
For GUI:
|
||||||
* Qt 5.3.0 or later
|
* Qt 5.3.0 or higher
|
||||||
|
|
||||||
## Linux
|
## Linux
|
||||||
|
|
||||||
@ -100,6 +100,7 @@ $ make
|
|||||||
|
|
||||||
If you are using QtCreator IDE you can just open `CMakeLists.txt` file in root directory.
|
If you are using QtCreator IDE you can just open `CMakeLists.txt` file in root directory.
|
||||||
If you are using Visual Studio you can generate solution by cmake generator command.
|
If you are using Visual Studio you can generate solution by cmake generator command.
|
||||||
|
Examples shows how to generate Win64 solution for Visual Studio 2013. To generate for another version use proper cmake generator (-G "name of generator").
|
||||||
|
|
||||||
### Way 1
|
### Way 1
|
||||||
Specify path to cmake scripts in Qt5 dir (usually in lib/cmake subdir) and execute cmake generator command,
|
Specify path to cmake scripts in Qt5 dir (usually in lib/cmake subdir) and execute cmake generator command,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user