[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/engine cvmc.c,1.35,1.36
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/engine cvmc.c,1.35,1.36 |
Date: |
Sat, 22 Feb 2003 19:04:02 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv24655/engine
Modified Files:
cvmc.c
Log Message:
_ILDumpMethodProfile: dump the entire method signature in the
method profile output.
Index: cvmc.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/cvmc.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -r1.35 -r1.36
*** cvmc.c 22 Feb 2003 12:02:57 -0000 1.35
--- cvmc.c 23 Feb 2003 00:04:00 -0000 1.36
***************
*** 23,26 ****
--- 23,27 ----
#include "il_opcodes.h"
#include "il_utils.h"
+ #include "il_dumpasm.h"
#include "cvm.h"
#include "lib_defs.h"
***************
*** 272,279 ****
ILMethod **temp;
ILMethod *method;
- ILClass *owner;
- const char *name;
int haveCounts;
- int len;
/* Get the list of all translated methods from the cache */
--- 273,277 ----
***************
*** 312,338 ****
continue;
}
! owner = ILMethod_Owner(method);
! name = ILClass_Namespace(owner);
! len = 0;
! if(name)
! {
! fputs(name, stream);
! putc('.', stream);
! len += strlen(name) + 1;
! }
! name = ILClass_Name(owner);
! fputs(name, stream);
! fputs("::", stream);
! len += strlen(name) + 2;
! name = ILMethod_Name(method);
! fputs(name, stream);
! putc(' ', stream);
! len += strlen(name) + 1;
! while(len < 40)
! {
! putc(' ', stream);
! ++len;
! }
! printf("%lu\n", (unsigned long)(method->count));
haveCounts = 1;
}
--- 310,318 ----
continue;
}
! printf("%8lu ", (unsigned long)(method->count));
! ILDumpMethodType(stdout, ILProgramItem_Image(method),
! ILMethod_Signature(method), 0,
! ILMethod_Owner(method),
ILMethod_Name(method), 0);
! putc('\n', stdout);
haveCounts = 1;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/engine cvmc.c,1.35,1.36,
Rhys Weatherley <address@hidden> <=