Skip to content
Commits on Sep 4, 2009
Commits on Sep 3, 2009
  1. [profiling] #define getpid to _getpid on windows and get rid of some …

    cotto committed Sep 3, 2009
    …macros that are taken care of by hints
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40961 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. [profiling] be smarter about checking that Parrot's argv iglobal is i…

    cotto committed Sep 3, 2009
    …nitialized before using it
    
    also, only print the "Wrote profile to ..." message once
    
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40951 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  3. [nits] minor code tidying

    cotto committed Sep 3, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40941 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  4. [string] avoid ->strstart abuse in profiling runcore

    cotto committed Sep 3, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40940 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  5. [profiling] don't require perl 5.10 just for the say function

    cotto committed Sep 3, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40938 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  6. [profiling] initial working version of pprof2cg

    cotto committed Sep 3, 2009
    generates a mostly-sane profile in kcachegrind, but there are undoubtedly many bugs lurking
    
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40937 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Sep 2, 2009
  1. [profiling] split pprof2cg into functions for greater sanity, testing…

    cotto committed Sep 2, 2009
    … and refactoring
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40930 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. [profiling] initial refactor of (incomplete) postprocessing script

    cotto committed Sep 2, 2009
    It doesn't produce anything that Callgrind can use quite yet, but it has most of what's needed.
    
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40920 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  3. [profiling] update runcore to what's likely to be the format pprof2cg…

    cotto committed Sep 2, 2009
    … can use
    
    It's terribly inefficient for now.  Efficiency can come once it's working and well-tested.
    
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40919 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Aug 31, 2009
  1. [profiling] codingstd fixes

    cotto committed Aug 31, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40895 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. [profiling] put profile_filename in the root set so it won't get coll…

    cotto committed Aug 31, 2009
    …ected until the interp exits.
    
    The cast from STRING* to PMC* is ugly, but gc_register_pmc works for any PObj.
    
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40885 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Aug 30, 2009
  1. [profile] mark the runcore->profile_filename STRING during each runlo…

    cotto committed Aug 30, 2009
    …op iteration.
    
    This is stupid and bad and wrong, but the GC doesn't catch it by default and
    apparently marking it when a runloop starts isn't always sufficient.
    
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40881 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Aug 29, 2009
  1. [profiling] catch the edge case where the file changes on an inner ru…

    cotto committed Aug 29, 2009
    …nloop
    
    also, use more STRINGs internally, try (and fail) to abuse ->strstart less and print output filename on interp exit
    
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40855 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. [profiling] a few further cleanups and explanatory comments

    cotto committed Aug 29, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40848 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  3. [profiling] more cleanup and removal of unnecessary variables

    cotto committed Aug 29, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40847 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Aug 28, 2009
  1. [profiling] remove some unused or unnecessary variables

    cotto committed Aug 28, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40845 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. [profiling] pick a more descriptive name for a high-resolution timer …

    cotto committed Aug 28, 2009
    …function
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40844 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  3. [profiling] Switch to QueryPerformanceCounter for high-resolution tim…

    cotto committed Aug 28, 2009
    …ing info on win32.
    
    GetProcessTimes would be ideal because it won't record time spent by other processes, but it's goofy and this isn't.
    
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40843 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Aug 27, 2009
  1. [profiling] #ifdef away some runcore init functions on unsupported pl…

    cotto committed Aug 27, 2009
    …atforms
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40831 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. bring profiling_runcore up-to-date with trunk

    cotto committed Aug 27, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40830 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  3. [profiling] remove some redundant info from the profile and a minor c…

    cotto committed Aug 27, 2009
    …leanup
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40829 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  4. [config] use hints instead of #defines to try to figure out the best …

    cotto committed Aug 27, 2009
    …available timing method
    
    A configure step that probes different values until one works would be ideal, but this is much easier.
    darbelo++ for putting together most of the patch
    
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40822 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  5. [profiling] first attempt at an abstraction layer for high-resolution…

    cotto committed Aug 27, 2009
    … timing, including an untested win32 implementation
    
    also, add context and sub addresses to output, clean up runcore code
    
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40821 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Aug 25, 2009
  1. [config] add word boundary assertions to code that looks at library f…

    cotto committed Aug 25, 2009
    …lags
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40798 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. [config] remove hardcoded -lrt from root makefile

    cotto committed Aug 25, 2009
    cotto-- for not paying closer attention
    
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40792 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  3. [configure] add hints to add -lrt to the libs on Linux courtesy of da…

    cotto committed Aug 25, 2009
    …rbelo++
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40791 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Aug 21, 2009
  1. [profiling] make profiling probably somewhat less broken by looking a…

    cotto committed Aug 21, 2009
    …t CONTEXT(interp) instead of specific instructions
    
    also, some internal cleanups
    
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40688 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Aug 20, 2009
  1. update from trunk after Tuesday's mergefest

    cotto committed Aug 20, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40669 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Aug 18, 2009
  1. [profiling] fix some compiler warnings

    cotto committed Aug 18, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40642 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Aug 16, 2009
  1. [profiling] remove some structs (and assoc code) used by the old and …

    cotto committed Aug 16, 2009
    …busted profiling runcore
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40583 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Aug 15, 2009
  1. [profiling] minor code cleanup and typo fixes

    cotto committed Aug 15, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40551 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Aug 14, 2009
  1. [profiling] first attempt to deal gracefully with nested runloops

    cotto committed Aug 14, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40550 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. [MANIFEST] add tools/dev/pprof2cg.pl to the manifest

    cotto committed Aug 14, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40543 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  3. [profiling] start putting runcore-specific data into a Parrot_profili…

    cotto committed Aug 14, 2009
    …ng_runcore_t and using init/destroy
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pluggable_runcore@40542 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Something went wrong with that request. Please try again.