URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [or1ksim/] [profiler.c] - Diff between revs 239 and 264
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 239 |
Rev 264 |
Line 27... |
Line 27... |
int cumulative = 0;
|
int cumulative = 0;
|
|
|
FILE *fprof = 0;
|
FILE *fprof = 0;
|
|
|
int main (int argc, char *argv[]) {
|
int main (int argc, char *argv[]) {
|
char fprofname[50] = "sim-profile";
|
char fprofname[50] = "sim.profile";
|
int line = 0;
|
int line = 0;
|
if (argc > 4 || argc < 2) {
|
if (argc > 4 || argc < 2) {
|
fprintf (stderr, "USAGE: profiler [--cumulative|-c] --generate|-g [profile_file_name]\n");
|
fprintf (stderr, "USAGE: profiler [--cumulative|-c] --generate|-g [profile_file_name]\n");
|
exit(1);
|
exit(1);
|
}
|
}
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.