OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [stable_0_2_0_rc1/] [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);
  }
  }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.