Git Product home page Git Product logo

shinyprofiler's People

Watchers

 avatar

shinyprofiler's Issues

A few notes

I recently downloaded and built the shiny profiler.  I am still getting the 
hang of it.  However, I just wanted to post a few notes of changes I needed 
to make to get it to build the library.

I am working on Ubuntu 9.10 - 64bit, g++ 4.4.1

1. Made a directory Shiny/lib

2. Moved makefiles to the Shiny folder

3. Edit makefile - changed .cpp.o: to .c.o:

4. In ShinyTools.c Line 98, The definition differs from declaration in 
ShinyTools.h Line 45.  Changed .c file to be like .h file and return a non-
const value.

5. There were some extern "C" sections that seemed backwards with the close 
} coming before the open {.  Comments seemed mis-aligned as well.  I just 
commented those lines out for myself since I could not judge your intent, 
but it almost looked like they were simply swapped.  The files and number 
of times I did that were: ShinyZone.h(1), ShinyNode.h(1), ShinyOuput.h(1), 
ShinyManager.h(3)

6. Since I am using a 64 bit system the hash functions that convert void* 
to uint32_t cause an error since they are not the same size.  I was not 
sure of the affect of changing the variable size, but I opted to use 
general unsigned integer that is the same size as the void*.  For me I did 
this by using a templated class to tell me the type based on the sizeof the 
void*.

I hope this information is useful.  I look forward to using your profiler.  
Thanks!

Original issue reported on code.google.com by [email protected] on 29 Apr 2010 at 11:43

Cannot compile ob ubuntu 9.10 (gcc 4.4.1)

What steps will reproduce the problem?
1. Create CMakeLlists.txt File:
---------------------------------------------
SET(PROJECTNAME "SHINY_PROFILER")
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMakeModules")
PROJECT(SHINY)
FILE(GLOB_RECURSE SOURCES "./Shiny/src/*.c")
INCLUDE_DIRECTORIES("./Shiny/include")
ADD_EXECUTABLE (${PROJECTNAME} ${SOURCES})
SET_TARGET_PROPERTIES(${PROJECTNAME} PROPERTIES
    OUTPUT_NAME "${PROJECTNAME}"
    ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/"
    RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
    )
-------------------------------
2. mkdir _build
3. cd _build
4. cmake ..
5. make
6: Error: Shiny/include/ShinyPrereqs.h:140: error: expected ‘=’, ‘,’, 
‘;’,
‘asm’ or ‘__attribute__’ before ‘shinytick_t’

I am using ubuntu 9.10 with gcc version 4.4.1

I hope you still have time to check this issue.

thanks alot!

regards
Eugen

Original issue reported on code.google.com by [email protected] on 4 Mar 2010 at 10:43

Attachments:

2 memory leaks issues

What steps will reproduce the problem?
1. SHINY_VERSION "2.6 RC1"
2. latest version of visual leak detector http://vld.codeplex.com/
3. vld detects 2 memory leaks for the clode below:

#include "Shiny.h"
#include "vld.h"
int main()
{
  PROFILE_BEGIN( test );
  PROFILE_END(  );
  PROFILE_UPDATE();
  PROFILE_OUTPUT(0);
  return 0;
}

What is the expected output? What do you see instead?

WARNING: Visual Leak Detector detected memory leaks!
---------- Block 1 at 0x00D86FF8: 22528 bytes ----------
Leak Hash: 0xEB9FE4E9 Count: 1
  Call Stack:
    c:\lab\lib\shiny\shiny\src\shinymanager.c (315): test.exe!_ShinyManager_createNodeTable + 0xF bytes
    c:\lab\lib\shiny\shiny\src\shinymanager.c (223): test.exe!_ShinyManager_lookupNode + 0xE bytes
    c:\lab\lib\shiny\shiny\include\shinymanager.h (159): test.exe!ShinyManager_lookupAndBeginNode + 0x11 bytes
    c:\cv_src\main\test\test.cpp (149): test.exe!main + 0x14 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (555): test.exe!__tmainCRTStartup + 0x19 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (371): test.exe!mainCRTStartup
    0x75E033AA (File and line number not available): kernel32.dll!BaseThreadInitThunk + 0x12 bytes
    0x77759EF2 (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x63 bytes
    0x77759EC5 (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x36 bytes
  Data:
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........


---------- Block 2 at 0x00D8C838: 11280 bytes ----------
Leak Hash: 0x5CA85C76 Count: 1
  Call Stack:
    c:\lab\lib\shiny\shiny\src\shinynodepool.c (38): test.exe!ShinyNodePool_create + 0x15 bytes
    c:\lab\lib\shiny\shiny\src\shinymanager.c (294): test.exe!_ShinyManager_createNodePool + 0x9 bytes
    c:\lab\lib\shiny\shiny\src\shinymanager.c (224): test.exe!_ShinyManager_lookupNode + 0xE bytes
    c:\lab\lib\shiny\shiny\include\shinymanager.h (159): test.exe!ShinyManager_lookupAndBeginNode + 0x11 bytes
    c:\cv_src\main\test\test.cpp (149): test.exe!main + 0x14 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (555): test.exe!__tmainCRTStartup + 0x19 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (371): test.exe!mainCRTStartup
    0x75E033AA (File and line number not available): kernel32.dll!BaseThreadInitThunk + 0x12 bytes
    0x77759EF2 (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x63 bytes
    0x77759EC5 (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x36 bytes
  Data:
    00 00 00 00    A0 C8 D8 00    48 F4 D8 00    CD CD CD CD     ........ H.......
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    08 70 2D 01    70 70 2D 01    00 00 00 00    00 00 00 00     .p-.pp-. ........
    00 00 00 00    00 00 00 00    01 00 00 00    00 70 2D 01     ........ .....p-.
    01 00 00 00    00 00 80 3F    00 00 00 00    00 00 00 00     .......? ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........


Visual Leak Detector detected 2 memory leaks (33880 bytes).

What version of the product are you using? On what operating system?
SHINY_VERSION "2.6 RC1"
Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by hatem.taleb on 27 Feb 2013 at 10:09

Lack of documentation

On the project homepage:
"Shiny is a lightning fast, fully documented and by far the-easiest-to-use-ever 
C/C++/Lua high-performance profiler"

"Amazingly simple-to-use & flexible interface with lots of examples and docs"

Problem behavior: 
In the documentation section of the homepage: "..."
In the examples section of the homepage: "..."
In the downloaded archive: no examples, just an FAQ and a single doxygen-style 
macro reference sheet.

Expected behavior:
"Amazingly simple-to-use & flexible interface with **lots of examples and 
docs**"


Original issue reported on code.google.com by QRohlf on 6 Jun 2013 at 4:16

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.