mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-06-02 08:41:34 +00:00
29 lines
1.4 KiB
C
29 lines
1.4 KiB
C
/*
|
|
* Copyright (c) 2009, Giampaolo Rodola'. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
#include <Python.h>
|
|
|
|
// processes
|
|
static PyObject* psutil_proc_basic_info(PyObject* self, PyObject* args);
|
|
static PyObject* psutil_proc_cpu_times(PyObject* self, PyObject* args);
|
|
static PyObject* psutil_proc_cred(PyObject* self, PyObject* args);
|
|
static PyObject* psutil_proc_memory_maps(PyObject* self, PyObject* args);
|
|
static PyObject* psutil_proc_name_and_args(PyObject* self, PyObject* args);
|
|
static PyObject* psutil_proc_num_ctx_switches(PyObject* self, PyObject* args);
|
|
static PyObject* psutil_proc_query_thread(PyObject* self, PyObject* args);
|
|
|
|
// system
|
|
static PyObject* psutil_boot_time(PyObject* self, PyObject* args);
|
|
static PyObject* psutil_cpu_count_phys(PyObject* self, PyObject* args);
|
|
static PyObject* psutil_disk_io_counters(PyObject* self, PyObject* args);
|
|
static PyObject* psutil_disk_partitions(PyObject* self, PyObject* args);
|
|
static PyObject* psutil_net_io_counters(PyObject* self, PyObject* args);
|
|
static PyObject* psutil_per_cpu_times(PyObject* self, PyObject* args);
|
|
static PyObject* psutil_swap_mem(PyObject* self, PyObject* args);
|
|
static PyObject* psutil_users(PyObject* self, PyObject* args);
|
|
static PyObject* psutil_net_connections(PyObject* self, PyObject* args);
|
|
static PyObject* psutil_net_if_stats(PyObject* self, PyObject* args);
|