#include "resource-monitor.h"
+#include <hal/hal-foo.h>
+
#define BUFF_MAX 255
#define MAX_RESOURCE 100
#define MAX_ATTR 64
int count = 0;
int i, j;
+ hal_foo_get_backend();
+
while (1) {
if (g_data.max != -1 && g_data.max <= count++)
break;
printf("\n");
}
sleep(g_data.secs);
+
+ printf("hal_foo_start() : %d\n", hal_foo_start());
+ printf("hal_foo_stop() : %d\n", hal_foo_stop());
}
+
+ hal_foo_put_backend();
+
resource_monitor_exit(0);
}