More profiling stuff.

This commit is contained in:
Martin Baulig
1998-06-07 21:14:30 +00:00
parent 28324c38cc
commit be91463190
5 changed files with 44 additions and 14 deletions

View File

@@ -24,9 +24,22 @@
#include <unistd.h>
#include <fcntl.h>
#include <ctype.h>
__BEGIN_DECLS
#if _IN_LIBGTOP
static inline char *
skip_token(const char *p)
{
while (isspace(*p)) p++;
while (*p && !isspace(*p)) p++;
return (char *)p;
}
#endif
typedef struct _glibtop_machine glibtop_machine;
struct _glibtop_machine