Giter Club home page Giter Club logo

tyoma / micro-profiler Goto Github PK

View Code? Open in Web Editor NEW
238.0 15.0 27.0 11.16 MB

Cross-platform low-footprint realtime C/C++ Profiler

Home Page: https://visualstudiogallery.msdn.microsoft.com/133d5764-b32b-4ec9-8ee8-5546eca64584

License: MIT License

C++ 90.04% Assembly 0.61% C 5.54% Batchfile 0.48% CMake 2.96% Shell 0.03% Objective-C++ 0.35%
profiler realtime-profiler cpp-profiler instrumenting-profiler instrumenting valgrind vtune optimize intel visual-studio

micro-profiler's People

Contributors

denis-bu avatar tyoma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

micro-profiler's Issues

TF10122: The path '$/MyTeamProject/MyProject/$(MICROPROFILERDIR)/micro-profiler.initializer.cpp' contains a '$' at the beginning of a path component. Remove the '$' and try again.

Hi.

Thank you for MicroProfiler.

When I right-click on my project and select "Enable Profiling", I get the following prompt:
image

When I click on "Add the item", I get the following output in the "Source Control - Team Foundation" category of the Output window:
TF10122: The path '$/MyTeamProject/MyProject/$(MICROPROFILERDIR)/micro-profiler.initializer.cpp' contains a '$' at the beginning of a path component. Remove the '$' and try again.
MyProject.vcxproj, MyProject.vcxproj.filters have been automatically checked out for editing.
There is no working folder mapping for C:\Users\first.last\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\y45mosn5.hom.
There is no working folder mapping for C:\Users\first.last\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\y45mosn5.hom.

Visual Studio 2015.

Are those messages expected for a TFS source controlled project?

Thank you.

Doesn't seem to work with VS 2015 RC

VS 2013 shows the respective "Enable Profiling" options, but nothing shows up in VS 2015 RC. :(

  • Did both a repair. Didn't work.
  • Did a remove and install. Didn't work.

Some more information:

  • MicroProfiler shows up in the About box
  • I'm building a native x86 EXE.

Rui Figueira (Cloudgine) Written June 04, 2015

Profiler closes on application exit

If profiling a program that exits after execution the profiler exits too. This 
makes it difficult to analyze the results. It would be nice if the profiling 
window persists, or if you could open it afterwards and analyze previous 
results.

Original issue reported on code.google.com by [email protected] on 1 Mar 2012 at 4:01

Unit of Measure used by Raw Statistics

In the screenshot, on Visual Studio Gallery, https://visualstudiogallery.msdn.microsoft.com/133d5764-b32b-4ec9-8ee8-5546eca64584/showImage/127075, we see that some of the time-based statistics are displayed in various unit of measure (i.e. seconds, miliseconds, microseconds, nanoseconds, etc...).

When we extract the statistics, we do not have any unit of measurement associated with the raw data. Therefore, I assume, that in that case, all the raw numbers are in one single unit of measure.

If I am right, which unit of measure would that be?

Thanks.

UI incomplete

Hi,
I installed micro-profiler, checked "Enable profiler" on my application, rebuild the solution and started the app. The profiler frontend shows up and I can see the colored ring, but no text columns.

screenshot

The ring is alive, it changes while the app is running. I can select segments, but no textual information is visible.
I use visual studio community 2019 version 16.1.6..
Any idea what I'm doing wrong?
Best regards
Peter

Not able to link my projects

I am seeing below errors while linking. It used to work few days work but currently not working. I am not able to identify the root cause. Please help in running microprofiler again.

Error 54 error LNK2001: unresolved external symbol __penter
Error 51 error LNK2001: unresolved external symbol __pexit
Error 59 error LNK2019: unresolved external symbol __pexit referenced in function "public: __thiscall

Not seeing GUI front end or enable profiling menu item.

I have tried to install micro profiler on 2 systems. One is a Windows 7 64 bit system running VS 2008, 2010 and 2015.
The second system is a Windows 10 64 bit system also running VS 2008, 2010 and 2015.
The installer provides feedback saying it is modifying all of the versions of VS for each system so it appears as if the installation was OK.
I do not see a GUI front end application anywhere on the system and in all versions of Visual Studio, is this an app that gets installed? Also the "Enable Profiling" option doesn't not appear in the context sensitive menu in Solution Explorer in any version of VS that I try.
One system is my home system on which I am the administrator.
I must be doing something wrong...

Static Library Profiling - Visual Studio 2013

We used your tool with great success in the past while profiling one of our DLLs. In a newer release, we had a need to refactor the DLL into a static library and a DLL. Now, all the code is in the static library and we simply link the DLL against the static library. Some part of our software links statically to the .lib and other parts link against the .dll.

We used to enable profiling on the DLL and that worked just fine. Now, when I Enable Profiling on the DLL only, I get the Micro-Profiler dialog that pops up at runtime but no statistics. Therefore, I assumed that I needed to enable profiling on the static library. When I try that, I consistently get: error LNK1104: cannot open file 'micro-profiler.lib'.

I have read in the User Reviews on your website that another of your client is experiencing similar issues. I am not sure I quite follow what you mean by this answer:

Quote from Artem Gevorkyan:
Unfortunately, profiling static libs is still tricky: you have to turn profiling on then off (but w/o removing profiling; this will simply add initializer cpp to the project) suport on exe, then add both /GH /Gh command line options to compiler in lib's project configuration.
Sorry for the inconvenience - I'll add this soon.

When I select Enable Profiling on my project, I get an extra menu item that is labeled Remove Profiling Support. If I uncheck the Enable Profiling menu item but do not click the Remove Profiling Support, the /GH /gh are removed in the Command-Line options for my project. I have no idea how to get this working at this time.

Profiler Window Doesn't Close, Prevents Recompilation

What steps will reproduce the problem?
1. Compile and run a project
2. Close it (the window)
3. MicroProfiler remains open, unable to close MicroProfiler window

What is the expected output? What do you see instead?
The MP window shold be able to close?

What version of the product are you using? On what operating system?
VS 2010, Windows 7, 1.0.500. 

Please provide any additional information below.
Btw the register DLL call didnt't work, had to copy it to Windows system folder.

Original issue reported on code.google.com by [email protected] on 3 Jun 2012 at 10:59

No Profiler Frontend/no statisticsfile while/after a profiling

I just installed latest version (1.4.601.0) and use VS 2010 in Windows 7 x64.
After the installation I restarted the PC.

After that i set to a project in my solution the "enable profiling". It's a 32-Bit program, like the micro-profiler version.
Then i made a complete "rebuild solution" and started my program.

And nothing happens. I never saw a Frontend, and i can't find any file which could be written from MicroProfiler while the program was running.
I even can't find any entries in the menu of VS, where i could open the Frontend manually.

Let's create an option to stop or pause profiling.

It is very useful sometimes to have an option to start/stop profiling by 
demand. It allows us to look at results, investigate it etc., especially if we 
did profiling run for specific time of app work.

The best solution would be to implement kind of 'project' / 'workspace' 
objects, but it would require too much development for now I guess.

It also makes sense to allow to start profiler being turned OFF initially 
somehow (as optional flag).

Original issue reported on code.google.com by [email protected] on 18 Oct 2011 at 2:56

Sorting does not work in Excel

What steps will reproduce the problem?
1. Run profiled app
2. Click Copy All in the Micro Profiler view
3. Paste data to Excel

Columns with floating numbers are not sortable until "." is set as Decimal 
symbol in Regional and Language settings. After this I also needed to remove 
the topmost row with text and then sorting works as expected.

Reproduces under MS Excel 2010 under W7 x64.

Original issue reported on code.google.com by [email protected] on 1 Aug 2011 at 4:09

One may observe no integration in VisualStudio IDE

From user comments:

mikel...: I don't see "Enable Profiling" in the context menu. I'm running 
VS2008 SP1 (in Spanish, if it makes a difference), and micro-profiler is 
checked in the Addins dialog. I've also checked that devenv.exe has 
micro-profiler.dll loaded. What am I doing wrong?

guitarb...: I can't see "Enable Profiling" either...I am running VS 2005 Prof 
in German. Micro Profiler has been enabled in the VS Addin Manager.... Where 
should I look?

Original issue reported on code.google.com by [email protected] on 9 Mar 2014 at 1:20

Unable to install on VS 2017 15.6.2

image

image

the log says:

16.03.2018 15:26:14 - Die Erweiterung mit der ID A42F6081-855F-41CB-8C89-9488AA847290 wird nicht für Microsoft Visual Studio Professional 2017 installiert.
16.03.2018 15:26:16 - Die Erweiterung kann für die folgenden Produkte aufgrund fehlender erforderlicher Komponenten nicht installiert werden:
16.03.2018 15:26:16 - 	Microsoft Visual Studio Professional 2017
16.03.2018 15:26:16 - 		-------------------------------------------------------
16.03.2018 15:26:16 - 		Identifier   : Microsoft.VisualStudio.Component.CoreEditor
16.03.2018 15:26:16 - 		Name         : Visual Studio core editor
16.03.2018 15:26:16 - 		Version      : [11.0,15.0]
16.03.2018 15:26:16 - 		Error        : Die angegebene erforderliche Version entspricht nicht der installierten Version.
16.03.2018 15:26:16 - 
16.03.2018 15:26:16 - System.InvalidOperationException: No modifications could be applied.
   at VSIXInstaller.MultipleChangePage..ctor(ExtensionData data)
   at VSIXInstaller.LoadingPage.<>c__DisplayClass11_1.<OnLoaded>b__2()

roughly translated:

Extension ID A42F6081-855F-41CB-8C89-9488AA847290 will not be installed
The extension cannot be installed because of missing components:
[...]
Error: The requested version does not match the installed version

Standalone?

What happened to the standalone version? I'd like to use it from Qt Creator.

Function is hit but reported as called zero times

I cannot see a pattern that would let me describe how to reproduce the issue.  
All I know is that certain functions in my program are listed in the viewer 
with zeros in all the columns.  This does not make sense because the function 
was called.  I attached the debugger to the program and verified that _penter 
is called.

I am using version 1.0.500 on Windows 7.

Original issue reported on code.google.com by [email protected] on 6 Jun 2013 at 3:10

No integration with VS Express 2013

I use VS Express 2013 on Win7 and decided to give micro-profiler a try. 
Installed micro-profiler_x86.v1.1.566.msi but don't see the context menu items 
in VS. Is it possible to support VS Express 2013? Are express editions 
supported at all?

P.S.
I also tried to include micro-profiler into my project manually but it looks 
like didn't do all necessary steps. What I did was setting /PROFILE option for 
linker, add micro-profiler.initializer.cpp into the project, link to 
micro-profiler.lib, build the project. Then when I launched my program, 
micro-controller got automatically launched as well, but displays no profiling 
info whatsoever.

Original issue reported on code.google.com by [email protected] on 20 Mar 2014 at 9:12

negative durations

I see a lot of negative times like
XXX::YYY    14764   -0.000395576    -0.000395576    -2.67933e-008   -2.67933e-008   0

It's expected that a function cannot finish before being started.

Version 265.

Original issue reported on code.google.com by [email protected] on 5 Sep 2011 at 1:22

Is this a virus?

The install proceeds without error but as far as I can tell there is nothing installed on my system. The installation folder is empty and there are no program items nor VS integrations. I would guess micro-profiler is either completely broke or has deliberately compromised my system.

FAQ: No data is displayed on the list control

Below is the 1-star review on Visual Studio Marketplace with some possible remedies (everything is a guesswork, because the author never did not attempt to help me out):

It doesn't seem to be working in VS2019 (16.4.0). (edit: I can see the Enable Profiling menu). VS complains about missing some DLL (micro-profiler_x86.dll) from the extension and I have to copy it to the target exe folder (edit: later found that I have to start the program without debugging to avoid this problem). Nothing can be shown on the list control.

Kenny

kenny-review

Adding multi-thread functionality

I'm looking for an effective way to profile a multithread operation, which is complicated because a thread may fork again. Is it possible to add thread information/PID into the mix? That might help to fix the sweet point in the number and division of threads, I hope.
Admittedly, I do not have a very clear picture of this, but I hope a relatively minor report addition may go a long way, for me, at least.
Further elaboration:
I tried to use the profiler for optimizing a multi-thread proces, but couldn't do it, because I could not pinpoint real bottlenecks. Especially since individual threads may need quite different runtimes. The aim is to prioritize threading to ensure that the total runtime equals the longest run (or as close as possible). That is basically done by "subthreading" (my term but I think it is clear). So main threads are started only when there is a bit of unused cpu capacity available.
There are really two optimization problems:

  1. are there parts of the implementation where speedup would help;
  2. can I still improve my scheduling.

Reading up a bit I realize that this is a tall order even in terms of theoretical methods. But anyhow, advice and or more data (e.g. an absolute timeline) could help.

COM dll registration Hangs

What steps will reproduce the problem?
1. Enable Profiling on a COM Component
2. Rebuild the component.


What is the expected output? 
Generated dll should get registered.

What do you see instead?
Compiler stops at step Registering dll.
regsvr32.exe stays in active tasks when viewed through task manager.

What version of the product are you using? On what operating system?
v1.0.480 on Windows XP Professional

Please provide any additional information below.
v1.0.473 on Windows XP Professional also has same issue.

Original issue reported on code.google.com by [email protected] on 7 Feb 2012 at 1:47

Add 'compare' feature

Add ability to open saved profiling results in a concurrent view with the current statistics with function-to-function correspondence, so that it easy to see difference in measured times.

Functions with zero 'call counts'

Hi Artem:

First off: fantastic effort , very useful and very performant front end. I used it to quickly isolate some bottlenecks and the performance while instrumented was also super. Very glad to have found your profiler.

I have been through the closed issues and faqs and managed to get a lot of my issues resolved. The one major one remaining is inconsistency in how some outer functions are reported with 0s in all the columns. Looks like issue #15 reports my problem almost identically: except that I do not have any message-loop spinning inside the call.

My configuration is more like

C# doSomethingViaPInvoke()
..
extern "C" bool pInvokeMethod()
{
  logging
  someInnerMethod1();
  return someInnerMethod2();
}

and most of the runs, "pInvokeMethod" is listed with all 0's which makes it hard to compare the results across different runs.

You did respond to #15 by stating that

The call to the function 'outer' (see below) will have zero 'Calls Count' provided that 'inner' is a
call long enough to span several profiler output updates.

void outer() { inner(); }

Is it feasible to remove this limitation ? Or if there is a performance/memory tradeoff, maybe an option or an environment variable that allows it to be tuned ?

List of functions called with timestamp

Hi.

I'd like to request the ability for MicroProfiler to create a simple list of functions that were called during the execution of my program.

For example,

# Function Time Called Time Spent
1 MyApp::InitInstance 2019-01-21 11:55:00 PM 7s
2 MyApp::MyFunction 2019-01-21 11:55:07 PM 10s
3 MyApp::ExitInstance 2019-01-21 11:55:17 PM 1s

In this way, I can easily see the order of execution of my program.

This may help troubleshoot situations where there's a deadlock for example.
Or it may help a developer understand the flow of calls in an application easier/better, and maybe fix a bug because of an unexpected order of calls.

Thank you!

Multiple instances of all calling functions/instances while profiling using intel compiler

What steps will reproduce the problem?
1.Added micro-profiler in MSVS 2010 professional edition. Till this it is 
profiling as expected. 
2.Than toggle compiler to Intel Parallel Studio C++ professional compiler.
3.Code execution for profiling.

What is the expected output? What do you see instead?
Ans.The profiler should profile of each functions and shows its individuals 
timings. But it shows multiple instances of functions and some of them are with 
0 Second execution time which is practically incorrect, as mentioned in 
attached file of both the compiler.

What version of the product are you using? On what operating system?
Ans.I have embedded "Intel Compiler XE 2015 professional edition for C++" on 
Windows 7 64-bit OS and Intel core i5 2400 quadcore CPU.

Please provide any additional information below.
I covered almost.


Original issue reported on code.google.com by [email protected] on 17 Oct 2014 at 1:21

Attachments:

MicroProfiler window does not show up

What steps will reproduce the problem?
1. Enable Profiling on a VS12 C++ x64 project
2.
3.

What is the expected output? What do you see instead?
I used micro-profiler for 2 days and it worked great. But I do not know why 
suddently the MicroProfiler stop to be visible. Actually there is its name in 
the taskbar but it has no content and is not shown on the screen.
Of course I rebooted many times since, tried to reinstall the program, tested 
different projects but it does not resolve the problem. The MicroProfiler 
window is a ghost...


What version of the product are you using? On what operating system?
1.1.567. Windows 7 x64

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 11 May 2014 at 5:00

How to see saved mpstats file

Hi!
Thank you for very useful extention!!!! It's very cool.

Then, I have an easy question now.
When click "save as " button and save it, how to use that file?

Integration with VS2017

MicroProfiler is not yet compatible with VS2017 due to the changes that occurent in VS in way packages are loaded.

How can we make progress on this?
We really need to have MicroProfiler in VS2017 :)

Best,
J.P

Profiler GUI opens in unexpected Visual Studio instance

Hi.

I noticed that the Profiler GUI opens in an unexpected Visual Studio instance.

Here are some steps to reproduce for example:

  1. Close all instances of Visual Studio
  2. Open SolutionA.sln in a new instance of Visual Studio
    In my scenario, this solution doesn't have any projects where profiling is enabled.
  3. Open SolutionB.sln in a new instance of Visual Studio
    In my scenario, this solution doesn't have any projects where profiling is enabled.
  4. Enable profiling for a project in SolutionB
  5. Run the project with profiling enabled in Solution B.
    I clicked Debug > Start Debugging.
  6. Notice the Profiler GUI opens in the first instance of Visual Studio, where SolutionA is loaded.
    I expected the Profiler GUI to open in second instance of Visual Studio where SolutionB is open, where my project with profiling enabled is.

Visual Studio 2015
MicroProfiler 1.4.605.0 (Visual Studio Extension)

Thank you.

Report window visibility

Hi,
When running a program with Micro-Profiler enabled, the report window appears.
If you reduce it, it is not easy to make it appear again because it has no entry in the task
bar and no icon in VS interface. To make it appear again you have to reduce VS and show it again.
Then if you forget to close it but you thing you did because window is hidden and program terminated, making a change to the code and building it again produces a link error because the hidden window
of Micro-Profiler is still attached to the old code binary. Boring.
So I think it could be useful if Micro-Profiler could have an entry in the task bar.
What do you think?

Thanks,
Joachim

Access violation in micro-profiler.dll

I have compiled our software with one instance of your profiler_frontend class 
and linked it. It crashes rather immediately at offset 20c92 into the 
micro-profiler.dll.

I downloaded the 1.0.500 version and I am using VS2008 sp1.

First I only set /GH on one of our projects. Then it ran a bit longer before 
the same crash occured, I actually got a few function names in the list.

I am running windows 8 which may be a factor in the problem.

If you have the pdb file available I can produce a proper call stack showing 
the source line numbers etc.

Original issue reported on code.google.com by [email protected] on 10 Apr 2013 at 11:46

Internal function calls are missing

I just tried micro-profiler on my project it looks like many internal calls are missing from the report. As you can see from the screenshot I have a function running for ~19s but when I look at the functions it calls there is only one function taking ~65ms. My function is actually calling many other functions so I'm wondering why these other function calls don't appear.

Could it be a bug in micro-profiler ? Is there anything I can do to identify why the other calls are missing ?

missing calls

64bit support

Seems that the profiler works with 32bit applications only. Support for 64bit 
applications would be nice.

Original issue reported on code.google.com by [email protected] on 20 Mar 2012 at 9:09

Removing profiler leaves extra spaces in the project file

Hi.

When I remove the profiler on a project, it leaves extra spaces in the project file.

For example:

  1. Before enabling profiler:
<AdditionalOptions>/Zm135 %(AdditionalOptions)</AdditionalOptions>
  1. After enabling profiler:
<AdditionalOptions>/Zm135  /GH /Gh %(AdditionalOptions)</AdditionalOptions>

Notice the two spaces between /Zm135 and /GH.

  1. After removing profiler:
<AdditionalOptions>/Zm135   %(AdditionalOptions)</AdditionalOptions>

Notice the three spaces between /Zm135 and %(AdditionalOptions).

I expected the inner text of the AdditionalOptions element to return back to its original value.

Visual Studio 2015
MicroProfiler 1.4.605.0 (Visual Studio Extension)

Thank you. :)

Suggestion on search

May be add add search feature to Micro-profiler itself? It would not require to 
copy/paste data to Excel.

Original issue reported on code.google.com by [email protected] on 1 Aug 2011 at 4:10

class not registered with MS VisualStudio 2010

What steps will reproduce the problem?
1. install micro-profiler on Win7 64 bit
2. run VisualStudio 2010

After installing the latest verison
http://code.google.com/p/micro-profiler/downloads/detail?name=micro-profiler_x64
.v1.0.493.msi&can=2&q=
as described on
http://code.google.com/p/micro-profiler/wiki/UsageGuidelinesAutomatic
I get an error message at the startup of my (German) VisualStudio saying that 
"a class is not registered".


Original issue reported on code.google.com by [email protected] on 18 Apr 2012 at 10:39

Profiler context menu is missing or the project context menu itself is infinitely repeated

Installed for VS2015. When I right-click on project 64 bit Release in Solution Explorer no menu appears, where before the installation it did appear.

When I right-click on 32 bit Release project I get the default menu but with the standard entries infinitely duplicated in a continuous, never-ending context menu which, in any case, doesn't include the 'Enable Profiling' option that should have been added by the micro-profiler installer, which appeared to have run correctly.

Any ideas?

Can't get compiler to insert _pinit/_pexit call for different template instances

I don't think that this is your fault, but maybe you have a solution for me 
anyway?

I have set the /GH and /Gh flags on all compiles and done a total rebuild and 
still there are some template methods which don't have the _pinit/_pexit  calls 
in them. This of course biases the output tables in your tool and makes it 
rather unuseful.

I'm using VS2008 sp1 on Win8. If newer compilers do better in this respect in 
your experience this could motivate me to upgrade.

By the way: Is it possible to use your profiler in VS-express. I know it does 
not support add-ins, but maybe the enabling could be handled for instance with 
an .ini file like VLD does.

By the way 2: It seems that I can't disable the profiling once I have turned it 
on. Is this a bug or am I just stupid?

-- this should have been a mail, I guess, but I could not find a mailing list 
or individual mail address so this issue tracker is what I have got...

Original issue reported on code.google.com by [email protected] on 10 Apr 2013 at 4:04

Howto completly uninstall/switch off?

Hi,

I installed micro-profiler on my Visual Studio 2010 (64 bit) and it is a nice 
tool. But now I run into serious problems. I could switch off (uncheck) the 
profiling support, since the check mark in the context menu is missing all of a 
sudden. 

I tried to unload it from Add-In manager. Then I uninstalled it via control 
panel. 

Now no project can be compiled any more. I get error messages like

'c1xx : fatal error C1083: Cannot open source file: 'C:\Program 
Files\gevorkyan.org\MicroProfiler\x86\micro-profiler.initializer.cpp': No such 
file or directory'.

I can not figure out, where this is set. How can I get rid of it. I want to 
restore the state as it was before I installed the micro-profiler.

Thank you in advance.

Original issue reported on code.google.com by [email protected] on 22 Jul 2014 at 7:24

Cannot see frontend GUI

Hi, I'm Patrick with the no-frontend GUI problem on your Visual Studio Gallery 
site. Here is what I did following you suggestion.

What steps will reproduce the problem?
1. I checked dllhost.exe in task manager and it's not there.
2. I checked the "COM+ System Application" service and it's not started.
3. I manually started the "COM+ System Application" service, but still cannot 
see the frontend GUI.

Note: The account I'm using on the PC has no administrator privilege, but it 
does have access to console. And BTW my program under profiling is Win32 
console based.

What is the expected output? What do you see instead?
Expected: GUI frontend.
See: no frontend GUI.

What version of the product are you using? On what operating system?
x86 version on Windows XP.

Please provide any additional information below.

Thanks
Patrick

Original issue reported on code.google.com by [email protected] on 30 Dec 2014 at 12:40

Profile COM-Server(exe)

Hello friends,

I am very new to this stuff. I install the latest msi start my VS2005 add the 
addin. Than I open my Project click "Enable Profiling" on the contextmenu I add 
micro-profiler_x64.lib under Additional dependencies in Linker/Input.
I compile my project very well, but after starting the service no gui open for 
the profiling. So what the point here? Do I forget something?

Yours,


Original issue reported on code.google.com by [email protected] on 28 Aug 2012 at 11:04

GUI not closeable for a long time after app is shut down

I'm trying to profile a 64-bit COM server DLL. It works, but after the DLL server is shut down (dllhst3g.exe or dllhost.exe), the "X" in the profiler GUI is still greyed out for a long time (at least 30 min). This locks the corresponding .pdb which makes development difficult.

_penter and __pexit undefined after first use

What steps will reproduce the problem?
1.I used it once in the application. It did not profile my library.
2.I added it to the library.  It profiled both.
3.But after recompiling...I get these unresolved externals.

What is the expected output? What do you see instead?
I expected it to compile and run.


What version of the product are you using? On what operating system?
windows 7 x64 micro-profiler_x64.v1.1.565.msi


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 24 Mar 2014 at 9:54

Cannot completely remove software

Trying to uninstall, but the menu options when right-clicking a project in 
Visual Studio still remain (although they are disabled and unusable). This 
uninstall procedure should be more complete.

In the mean time, how do I remove them? I have already tried reinstalling and 
uninstalling, reinstalling and unregistering the micro-profile DLLs manually, 
etc. No go. I have restarted a few times.

Thanks.

Original issue reported on code.google.com by [email protected] on 1 Feb 2013 at 7:02

DLL Server Self-Registration

At my company, we've stopped using Visual Studio's vcxproj files in favour of another build system. This means that to use MicroProfiler, I've had to replicate the stuff that the VS Add-In does to the project - add the flags /GH /Gh and add micro-profiler.initializer.cpp to the projects when profiling is enabled. This worked for me on the first try, which is pretty great. However, for my coworkers, the profiled projects build and run correctly, but if they haven't installed MicroProfiler themselves, the GUI frontend doesn't appear.

Digging in the sources, it looks like the installer adds a COM class in the registry, which is what enables the frontend to appear. However it'd be pretty great if this registry entry wasn't necessary and my coworkers could use profiling without installing anything or adding anything to their registries.

I see that main.cpp has the functions DllRegisterServer and DllUnregisterServer quoted here for self-registration, but since micro-profiler.dll is imported through linking rather than through code, I'm not seeing a clear way to call these functions. But since these functions exist, was self-registration ever a thing that was done or that was planned?

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.