summaryrefslogtreecommitdiff
path: root/lib/thread.h
diff options
context:
space:
mode:
authorJorge Boncompte [DTI2] <jorge@dti2.net>2012-05-07 16:53:12 +0000
committerDavid Lamparter <equinox@opensourcerouting.org>2012-05-22 20:35:51 +0200
commit41af338ecd56b9891d996f0fc850e02318b0c01a (patch)
tree8543da475e3e82e6a63a8e2c8d8f0175bc447c2d /lib/thread.h
parent47d3b6078a6c885e03d28bae3397b71a827473f5 (diff)
lib: remove RUSAGE_T from struct thread
* thread.c: It's only temporarily used in thread_call() to calculate the diffs. Saves 80 bytes per copy. Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/thread.h')
-rw-r--r--lib/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread.h b/lib/thread.h
index dfc51e28..56f4d073 100644
--- a/lib/thread.h
+++ b/lib/thread.h
@@ -77,7 +77,7 @@ struct thread
int fd; /* file descriptor in case of read/write. */
struct timeval sands; /* rest of time sands value. */
} u;
- RUSAGE_T ru; /* Indepth usage info. */
+ struct timeval real;
struct cpu_thread_history *hist; /* cache pointer to cpu_history */
char* funcname;
};