#define RV_RESOURCE_MACHINE 0
#define RV_RESOURCE_CPU 1
#define RV_RESOURCE_IRQ 2
-#define RV_RESOURCE_BDEV 3
-#define RV_RESOURCE_COUNT 4
+#define RV_RESOURCE_SOFT_IRQ 3
+#define RV_RESOURCE_TRAP 4
+#define RV_RESOURCE_BDEV 5
+#define RV_RESOURCE_COUNT 6
/* Enumeration of the columns */
enum
} ResourceInfo;
*/
+struct _ResourceType {
+ /* a hashtable containing the data of each resource of this type */
+ GHashTable *hash_table;
+};
+typedef struct _ResourceType ResourceType;
+
+typedef struct _ResourceUnique {
+ ResourceType *type;
+ void *priv;
+} ResourceUnique;
+
typedef struct _ResourceUniqueNumeric {
+ ResourceUnique ru;
guint trace_num;
guint id;
} ResourceUniqueNumeric;
LttTime next_good_time; /* precalculate the next time where the next
pixel is.*/
+ gint hidden;
} HashedResourceData;
-struct _ResourceType {
- /* functions for the hash table below */
- guint (*hashfunc)(gconstpointer);
- gboolean (*hashequalfunc)(gconstpointer,gconstpointer);
- /* a hashtable containing the data of each resource of this type */
- GHashTable *hash_table;
-};
-typedef struct _ResourceType ResourceType;
-
struct _ProcessList {
GtkWidget *process_list_widget;