URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1350 |
Rev 1550 |
Line 56... |
Line 56... |
oraddr_t end_addr = 0xffffffff;
|
oraddr_t end_addr = 0xffffffff;
|
|
|
/* File to read from */
|
/* File to read from */
|
static FILE *fprof = 0;
|
static FILE *fprof = 0;
|
|
|
void mp_help ()
|
void mp_help (void)
|
{
|
{
|
PRINTF ("mprofiler <-d|-p|-a|-w> [-f filename] [-g group] from to\n");
|
PRINTF ("mprofiler <-d|-p|-a|-w> [-f filename] [-g group] from to\n");
|
PRINTF ("\t-d\t--detail\t\tdetailed output\n");
|
PRINTF ("\t-d\t--detail\t\tdetailed output\n");
|
PRINTF ("\t-p\t--pretty\t\tpretty output\n");
|
PRINTF ("\t-p\t--pretty\t\tpretty output\n");
|
PRINTF ("\t-a\t--access\t\toutput accesses only\n");
|
PRINTF ("\t-a\t--access\t\toutput accesses only\n");
|
Line 93... |
Line 93... |
|
|
if (!h) return 0;
|
if (!h) return 0;
|
return h->cnt[index];
|
return h->cnt[index];
|
}
|
}
|
|
|
void init ()
|
void init (void)
|
{
|
{
|
int i;
|
int i;
|
for (i = 0; i < HASH_SIZE; i++)
|
for (i = 0; i < HASH_SIZE; i++)
|
hash[i] = NULL;
|
hash[i] = NULL;
|
}
|
}
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.