{"action":"created","issue":{"url":"https://api.github.com/repos/VerySleepy/verysleepy/issues/18","labels_url":"https://api.github.com/repos/VerySleepy/verysleepy/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/VerySleepy/verysleepy/issues/18/comments","events_url":"https://api.github.com/repos/VerySleepy/verysleepy/issues/18/events","html_url":"https://github.com/VerySleepy/verysleepy/issues/18","id":60752145,"number":18,"title":"Very Sleepy could not profile DLL when issuing from command line","user":{"login":"tangogu","id":11432497,"avatar_url":"https://avatars.githubusercontent.com/u/11432497?v=3","gravatar_id":"","url":"https://api.github.com/users/tangogu","html_url":"https://github.com/tangogu","followers_url":"https://api.github.com/users/tangogu/followers","following_url":"https://api.github.com/users/tangogu/following{/other_user}","gists_url":"https://api.github.com/users/tangogu/gists{/gist_id}","starred_url":"https://api.github.com/users/tangogu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangogu/subscriptions","organizations_url":"https://api.github.com/users/tangogu/orgs","repos_url":"https://api.github.com/users/tangogu/repos","events_url":"https://api.github.com/users/tangogu/events{/privacy}","received_events_url":"https://api.github.com/users/tangogu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-12T00:19:19Z","updated_at":"2015-03-12T04:12:38Z","closed_at":"2015-03-12T04:12:38Z","body":"We use correct /r\"test.exe\" to do the job.\r\nWe use Very Sleepy newest version.\r\nThe test.exe will load a dll, which is called test2.dll. The DLL is dynamically loaded, and released before test.exe exit.\r\n\r\nFunctions inside test.exe could be got correctly. But the functions inside DLL only show binary address.\r\nThe PDBs of exe/dll are all in current directory, and Very Sleepy could show correct function name if use attach method.\r\n\r\nThis is very important, since coders could use such command line interface to easily implement a small regression system for performance reports. What's more, no need to attach a process not only ease the work, but also show correct info from the very beginning."},"comment":{"url":"https://api.github.com/repos/VerySleepy/verysleepy/issues/comments/78421099","html_url":"https://github.com/VerySleepy/verysleepy/issues/18#issuecomment-78421099","issue_url":"https://api.github.com/repos/VerySleepy/verysleepy/issues/18","id":78421099,"user":{"login":"tangogu","id":11432497,"avatar_url":"https://avatars.githubusercontent.com/u/11432497?v=3","gravatar_id":"","url":"https://api.github.com/users/tangogu","html_url":"https://github.com/tangogu","followers_url":"https://api.github.com/users/tangogu/followers","following_url":"https://api.github.com/users/tangogu/following{/other_user}","gists_url":"https://api.github.com/users/tangogu/gists{/gist_id}","starred_url":"https://api.github.com/users/tangogu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangogu/subscriptions","organizations_url":"https://api.github.com/users/tangogu/orgs","repos_url":"https://api.github.com/users/tangogu/repos","events_url":"https://api.github.com/users/tangogu/events{/privacy}","received_events_url":"https://api.github.com/users/tangogu/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T04:12:38Z","updated_at":"2015-03-12T04:12:38Z","body":"Yes, LoadLibrary().\r\nI noticed there is a thread here(http://www.codersnotes.com/programs/very-sleepy-0-8#comment-110) mentioned by Dalaran which solved our issue after updating the code. Really thanks!\r\n\r\nThe Very Sleepy is useful, though not as powerful as WPA. On the other side, it could show function name, which is great for our usage -  a small profiler.\r\n\r\nWe will also try to do some improvements and give you feedback. Some useful feature I think are:\r\nAllow users to specify the module name, and start sampling after the module is loaded\r\nChange sampling rate. A lower frequency could ensure the Very Sleepy to work for hours. Though it may not accurately reflect the performance, it is better than nothing.\r\nTry to use a higher sampling rate. Sometimes, 1ms may be too long. But when using higher sampling rate, the QueryPerformanceCounter() will have very poor performance, and if we use rdtsc(p), it is not wall clock."}}