linux.hh (6684:04cba5a03e2e) linux.hh (6744:408673e38566)
1/*
2 * Copyright (c) 2004-2009 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;

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

133
134 /// For gettimeofday().
135 struct timeval {
136 int64_t tv_sec; //!< seconds
137 int64_t tv_usec; //!< microseconds
138 };
139
140 /// Clock ticks per second, for times().
1/*
2 * Copyright (c) 2004-2009 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;

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

133
134 /// For gettimeofday().
135 struct timeval {
136 int64_t tv_sec; //!< seconds
137 int64_t tv_usec; //!< microseconds
138 };
139
140 /// Clock ticks per second, for times().
141 static const int _SC_CLK_TCK = 100;
141 static const int M5_SC_CLK_TCK = 100;
142
143 /// For times().
144 struct tms {
145 int64_t tms_utime; //!< user time
146 int64_t tms_stime; //!< system time
147 int64_t tms_cutime; //!< user time of children
148 int64_t tms_cstime; //!< system time of children
149 };

--- 37 unchanged lines hidden ---
142
143 /// For times().
144 struct tms {
145 int64_t tms_utime; //!< user time
146 int64_t tms_stime; //!< system time
147 int64_t tms_cutime; //!< user time of children
148 int64_t tms_cstime; //!< system time of children
149 };

--- 37 unchanged lines hidden ---