mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-26 08:01:51 +08:00
Warning fix
This commit is contained in:
parent
281ba558ea
commit
e525df5254
@ -8,13 +8,10 @@ set(SOURCES
|
||||
${CPP_FILES}
|
||||
)
|
||||
|
||||
add_definitions(
|
||||
#-DFULL_DISABLE_PROFILER
|
||||
)
|
||||
add_executable(${PROJECT_NAME} ${SOURCES})
|
||||
|
||||
if(UNIX)
|
||||
set(SPEC_LIB pthread)
|
||||
endif(UNIX)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} easy_profiler ${SPEC_LIB})
|
||||
target_link_libraries(${PROJECT_NAME} easy_profiler ${SPEC_LIB})
|
||||
|
@ -40,7 +40,7 @@ public:
|
||||
};
|
||||
|
||||
|
||||
void printTree(TreePrinter& printer, const BlocksTree& tree, int level = 0, int parent_dur = 0, profiler::timestamp_t root_dur = 0)
|
||||
void printTree(TreePrinter& printer, const BlocksTree& tree, int level = 0, profiler::timestamp_t parent_dur = 0, profiler::timestamp_t root_dur = 0)
|
||||
{
|
||||
|
||||
if (tree.node){
|
||||
|
Loading…
x
Reference in New Issue
Block a user