Questions tagged [verysleepy]

'Very Sleepy' is a non-invasive profiler for the Windows platform that allows statistical profiling of C++ applications through sampling the instruction pointer register based off the original 'Sleepy' version.

What is Very Sleepy?

Sleepy presents results in a GUI built with wxWindows.

The Sleepy profiler uses a technique where the profiler runs in a different thread from the target program. Every 1ms or so, the profiler thread suspends the target thread, and pulls out the current instruction pointer register value from the thread context. These mem addresses are resolved into procedure names and line numbers using debug information. This allows line-level resolution, without making any changes to the target program. The only requirement is that the target program is compiled with (MS) debug information

Both 32-bit x86 and 64-bit x64 systems are fully supported, and Very Sleepy will work with both Visual Studio or gcc/mingw compilers.

Licensing Information

Sleepy is released under the GNU Public License, so you’re guaranteed the right to the source code and to change it how you wish.

Want more information / download links?

The VerySleepy website is the place to be with the latest information, news and download links.

17 questions
18
votes
2 answers

Using the "Very Sleepy" profiler to profile DLLs

I have a DLL that I want to profile.. I tried to use Very Sleepy, but I can't seem to get the source file column to display which source file the functions came from, all it displays is "unknown".. Anyway, I'm really baffled on how to use this app..…
krebstar
  • 3,956
  • 8
  • 46
  • 64
15
votes
1 answer

Very Sleepy doesn't see function names when capturing MinGW compiled file

I am new to this so probably missing something basic. I compile my C program with gcc 4.8 (MinGW) and -g option. I then run it and capture it with Very Sleepy. It all works but the output of Sleepy looks like this: memcpy 0.98 0.98 7.65…
Piotr Lopusiewicz
  • 2,514
  • 2
  • 27
  • 38
7
votes
2 answers

Why would our software run so much slower under virtualization?

I'm trying to figure out why our software runs so much slower when run under virtualization. Most of the stats I've seen, say it should be only a 10% performance penalty in the worst case, but on a Windows virtual server, the performance penalty can…
Morinar
  • 3,460
  • 8
  • 40
  • 58
6
votes
1 answer

How can I get Very Sleepy profiler to recognize function names in C++ binary?

I have a tool that is mixed C#/managed C++/unmanaged C++ built with Visual Studio 2010. Code is actually spread across an .exe (I'll call it mybinary.exe) and a .dll (mylib.dll.) I've set the build settings on the project for the dll and the exe in…
Paul Eastlund
  • 6,713
  • 4
  • 18
  • 20
6
votes
1 answer

What do the time measurements presented near curly braces in Very Sleepy profiler represent?

I'm using Very Sleepy to profile some C++ code, and I notice that in the Source view, where it shows the red line-by-lime time-spent measurements, there are always measurement on the lines that only have the method's open or close curly brace, in…
Omer Raviv
  • 11,409
  • 5
  • 43
  • 82
6
votes
2 answers

profiler for c++ code, very sleepy

I'm a newbie with profiling. I'd like to optimize my code to satisfy timing constraints. I use Visual C++ 08 Express and thus had to download a profiler, for me it's Very Sleepy. I did some search but found no decent tutorial on Sleepy, and here my…
josh130
  • 305
  • 1
  • 5
  • 12
5
votes
1 answer

How does Very Sleepy find symbol files?

Has anyone figured out how the Very Sleepy profiler finds PDB files? It seems like it doesn't use the _NT_SYMBOL_PATH env variable.. I've had success by putting PDBs in the same directory as the executable and DLLs, but I'm trying to profile a…
pepsi
  • 6,785
  • 6
  • 42
  • 74
4
votes
2 answers

Difference between Very sleepy and Callgrind for C++ profiling

I am trying to learn the difference between Very Sleepy and Callgrind for profiling. The code that I intend to profile is written in C++ and works under both Linux and Windows. On Linux, I was able to use Callgrind to look at the Self and inclusive…
hypersonics
  • 1,064
  • 2
  • 10
  • 23
4
votes
2 answers

C++ Profiling: KiFastSystemCallRet

I searched for this after seeing it's the top rated item when profiling using Very Sleepy, and it seems everyone gets the answer "it's a system function, ignore it". But Sleepy's hint for the function says: Hint: KiFastSystemCallRet often means …
Mr. Boy
  • 60,845
  • 93
  • 320
  • 589
2
votes
3 answers

Is there any Very sleepy profiler tutorial?

I've created a simple program printing "Hello world" 1000 times in C. Now I want to test very sleepy profiler, but it doesn't see the running program among processes. I run the application in the debug mode, visual studio 2010.
pojo
  • 307
  • 1
  • 4
  • 4
2
votes
3 answers

Very Sleepy profiler - Not picking up the PDB file for information about exe functions?

I am trying to used Very Sleepy on a windows service .exe on a machine that doesnt have Visual Studios is not installed. I have copied the .exe .map and .pdb file using xcopy. All these files are in the same folder from where the service is…
NiladriBose
  • 1,849
  • 2
  • 16
  • 31
1
vote
0 answers

What permissions/rights for Very Sleepy profiling?

I would like allow a user to use of Very Sleepy, without give him administrators rights. Without admin' rights, he can launch Very Sleepy then launch an application with the software to profile it. But he can't see active process to launch a…
1
vote
1 answer

How to generate dbg files with CLion for use with VerySleepy

I have some memory leaks in my application, and I'd like to debug them. The tool for Windows that I want to use is Very Sleepy. The problem is that when I use the software, it cannot figure out what corresponding source file of the problem is. From…
Kiryu144
  • 89
  • 9
1
vote
6 answers

C++ while profiling found performance problem in ntdll - how to get rid of it?

I'm working on a little rigidbody simulation. I use the Irrlicht engine for display and openMesh to work with the meshes. Now I profiled my app using VerySleepy and noticed that most of the time is spent within the following functions (exclusive the…
genesys
  • 3,557
  • 7
  • 29
  • 25
1
vote
4 answers

VerySleepy Profiling c++ code

While profiling my code to find what is going slow, I have 3functions that are taking forever apparently, well thats what very sleepy says. These functions are: ZwDelayExecution 20.460813 20.460813 19.987685 …
Chris Condy
  • 626
  • 2
  • 9
  • 25
1
2