URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 997 |
Rev 1003 |
Line 611... |
Line 611... |
for (s = tmp1; *s != '\0' && *s != '\n' && *s != '\r'; s++);
|
for (s = tmp1; *s != '\0' && *s != '\n' && *s != '\r'; s++);
|
*s = '\0';
|
*s = '\0';
|
|
|
/* quit command */
|
/* quit command */
|
if (strcmp (tmp1, "q") == 0 || strcmp (tmp1, "quit") == 0) {
|
if (strcmp (tmp1, "q") == 0 || strcmp (tmp1, "quit") == 0) {
|
|
/* Delete temporary files */
|
|
for (i = 0; i < prof_nfuncs - 1; i++) {
|
|
sprintf (tmp1, "%s.bin", prof_func[i].name);
|
|
log ("Deleting temporary file %s %s\n", tmp1, remove (tmp1) ? "OK" : "FAILED");
|
|
sprintf (tmp1, "%s.bin.bb", prof_func[i].name);
|
|
log ("Deleting temporary file %s %s\n", tmp1, remove (tmp1) ? "OK" : "FAILED");
|
|
}
|
break;
|
break;
|
|
|
/* profile command */
|
/* profile command */
|
} else if (strcmp (tmp1, "p") == 0 || strcmp (tmp1, "profile") == 0) {
|
} else if (strcmp (tmp1, "p") == 0 || strcmp (tmp1, "profile") == 0) {
|
int ntime = 0;
|
int ntime = 0;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.