Author: tim.bunce
Date: Tue Jun 2 16:41:19 2009
New Revision: 749
Modified:
trunk/NYTProf.xs
Log:
Removed unneeded (and problematic) mg_get thanks to delamonpansie
http://code.google.com/p/perl-devel-nytprof/issues/detail?id=16
(I don't know why it would have caused an assertion failure in perl.)
Removed hashtable_memwidth var as it's no longer used.
Modified: trunk/NYTProf.xs
==============================================================================
--- trunk/NYTProf.xs (original)
+++ trunk/NYTProf.xs Tue Jun 2 16:41:19 2009
@@ -867,7 +867,7 @@
NYTP_printf(out, ":%s=%u\n", "ticks_per_sec", ticks_per_sec);
NYTP_printf(out, ":%s=%lu\n", "nv_size", (long unsigned
int)sizeof(NV));
/* $0 - application name */
- mg_get(sv = get_sv("0",GV_ADDWARN));
+ sv = get_sv("0",GV_ADDWARN);
NYTP_printf(out, ":%s=%s\n", "application", SvPV_nolen(sv));
#ifdef HAS_ZLIB
@@ -2485,7 +2485,6 @@
static int
init_profiler(pTHX)
{
- unsigned int hashtable_memwidth;
#ifndef HAS_GETTIMEOFDAY
SV **svp;
#endif
--~--~---------~--~----~------------~-------~--~----~
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.
Group hosted at: http://groups.google.com/group/develnytprof-dev
Project hosted at: http://perl-devel-nytprof.googlecode.com
CPAN distribution: http://search.cpan.org/dist/Devel-NYTProf
To post, email: [email protected]
To unsubscribe, email: [email protected]
-~----------~----~----~----~------~----~------~--~---