Deleted Added
sdiff udiff text old ( 2665:a124942bacb8 ) new ( 3038:a20a6f060dd7 )
full compact
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 18 unchanged lines hidden (view full) ---

27 *
28 * Authors: Nathan Binkert
29 */
30
31#include <inttypes.h>
32#include <stdio.h>
33#include <stdlib.h>
34#include <string.h>
35
36#include "m5op.h"
37
38char *progname;
39
40void
41usage()
42{
43 printf("usage: m5 ivlb <interval>\n"
44 " m5 ivle <interval>\n"
45 " m5 initparam\n"
46 " m5 sw99param\n"
47 " m5 exit [delay]\n"
48 " m5 resetstats [delay [period]]\n"
49 " m5 dumpstats [delay [period]]\n"
50 " m5 dumpresetstats [delay [period]]\n"
51 " m5 checkpoint [delay [period]]\n"
52 "\n"
53 "All times in nanoseconds!\n");
54 exit(1);
55}
56
57#define COMPARE(X) (strcmp(X, command) == 0)
58
59int

--- 119 unchanged lines hidden (view full) ---

179
180 default:
181 usage();
182 }
183
184 return 0;
185 }
186
187 usage();
188}