Devel-NYTProf
view release on metacpan or search on metacpan
caller_subr_entry = subr_entry_ix_ptr(prev_subr_entry_ix);
subr_entry->subr_prof_depth = (caller_subr_entry)
? caller_subr_entry->subr_prof_depth+1 : 1;
get_time_of_day(subr_entry->initial_call_timeofday);
subr_entry->initial_overhead_ticks = cumulative_overhead_ticks;
subr_entry->initial_subr_ticks = cumulative_subr_ticks;
subr_entry->subr_call_seqn = (unsigned long)(++cumulative_subr_seqn);
/* try to work out what sub's being called in advance
* mainly for xsubs because otherwise they're transparent
* because xsub calls don't get a new context
*/
if (op_type == OP_ENTERSUB || op_type == OP_GOTO) {
GV *called_gv = Nullgv;
subr_entry->called_cv = resolve_sub_to_cv(aTHX_ subr_sv, &called_gv);
if (called_gv) {
char *p = HvNAME(GvSTASH(called_gv));
subr_entry->called_subpkg_pv = p;
subr_entry->called_subnam_sv = newSVpv(GvNAME(called_gv), 0);
lib/Devel/NYTProf/js/jit/Treemap.css view on Meta::CPAN
}
#infovis .head.in-path {
background-color:#FFFF00;
}
#infovis .leaf {
display:table-cell;
vertical-align:middle;
background-color:white;
border:solid 1px transparent;
}
#infovis .over-leaf {
/* border:1px solid red; */
outline: 2px solid red; outline-offset: -2px;
}
/* tooltips style */
.tip {
z-index: 13000;
lib/Devel/NYTProf/js/jit/jit-yc.js view on Meta::CPAN
(function(){function b(){}function c(w,u){for(var v in (u||{})){w[v]=u[v]}return w}function m(u){return(typeof u=="function")?u:function(){return u}}var k=Date.now||function(){return +new Date};function j(v){var u=h(v);return(u)?((u!="array")?[v]:v):...
lib/Devel/NYTProf/js/jit/jit.js view on Meta::CPAN
unlinked = [];
for (var i = 0, l = object.length; i < l; i++) unlinked[i] = $unlink(object[i]);
break;
default: return object;
}
return unlinked;
};
function $rgbToHex(srcArray, array){
if (srcArray.length < 3) return null;
if (srcArray.length == 4 && srcArray[3] == 0 && !array) return 'transparent';
var hex = [];
for (var i = 0; i < 3; i++){
var bit = (srcArray[i] - 0).toString(16);
hex.push((bit.length == 1) ? '0' + bit : bit);
}
return (array) ? hex : '#' + hex.join('');
};
function $destroy(elem) {
$clean(elem);
( run in 0.757 second using v1.01-cache-2.11-cpan-0a6323c29d9 )