thread_cpu stub

This commit is contained in:
Doug MacEachern 2004-11-17 05:35:17 +00:00
parent 82035b7471
commit 1299660b6c
7 changed files with 49 additions and 0 deletions

View File

@ -1230,6 +1230,13 @@ int sigar_proc_modules_get(sigar_t *sigar, sigar_pid_t pid,
}
}
int sigar_thread_cpu_get(sigar_t *sigar,
sigar_uint64_t id,
sigar_thread_cpu_t *cpu)
{
return SIGAR_ENOTIMPL;
}
int sigar_os_fs_type_get(sigar_file_system_t *fsp)
{
return fsp->type;

View File

@ -522,6 +522,13 @@ int sigar_proc_modules_get(sigar_t *sigar, sigar_pid_t pid,
return SIGAR_ENOTIMPL;
}
int sigar_thread_cpu_get(sigar_t *sigar,
sigar_uint64_t id,
sigar_thread_cpu_t *cpu)
{
return SIGAR_ENOTIMPL;
}
int sigar_os_fs_type_get(sigar_file_system_t *fsp)
{
char *type = fsp->sys_type_name;

View File

@ -439,6 +439,13 @@ int sigar_proc_modules_get(sigar_t *sigar, sigar_pid_t pid,
return SIGAR_ENOTIMPL;
}
int sigar_thread_cpu_get(sigar_t *sigar,
sigar_uint64_t id,
sigar_thread_cpu_t *cpu)
{
return SIGAR_ENOTIMPL;
}
#include <mntent.h>
int sigar_os_fs_type_get(sigar_file_system_t *fsp)

View File

@ -899,6 +899,13 @@ int sigar_proc_modules_get(sigar_t *sigar, sigar_pid_t pid,
return SIGAR_OK;
}
int sigar_thread_cpu_get(sigar_t *sigar,
sigar_uint64_t id,
sigar_thread_cpu_t *cpu)
{
return SIGAR_ENOTIMPL;
}
#include <mntent.h>
#include <sys/statfs.h>

View File

@ -325,6 +325,13 @@ int sigar_proc_modules_get(sigar_t *sigar, sigar_pid_t pid,
return SIGAR_ENOTIMPL;
}
int sigar_thread_cpu_get(sigar_t *sigar,
sigar_uint64_t id,
sigar_thread_cpu_t *cpu)
{
return SIGAR_ENOTIMPL;
}
int sigar_os_fs_type_get(sigar_file_system_t *fsp)
{
return fsp->type;

View File

@ -1038,6 +1038,13 @@ int sigar_proc_modules_get(sigar_t *sigar, sigar_pid_t pid,
}
}
int sigar_thread_cpu_get(sigar_t *sigar,
sigar_uint64_t id,
sigar_thread_cpu_t *cpu)
{
return SIGAR_ENOTIMPL;
}
#include <sys/mnttab.h>
int sigar_os_fs_type_get(sigar_file_system_t *fsp)

View File

@ -171,6 +171,13 @@ int sigar_proc_modules_get(sigar_t *sigar, sigar_pid_t pid,
return SIGAR_ENOTIMPL;
}
int sigar_thread_cpu_get(sigar_t *sigar,
sigar_uint64_t id,
sigar_thread_cpu_t *cpu)
{
return SIGAR_ENOTIMPL;
}
int sigar_os_fs_type_get(sigar_file_system_t *fsp)
{
fsp->type = SIGAR_FSTYPE_UNKNOWN;