blob: 02343501477fc5b2e2567c28ee8fc647da6351f9 [file] [log] [blame]
#include <sched.h>
#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include "third_party/libnuma/numa.h"
void numa_init(void);
int main(int argc, char *argv[])
{
numa_init();
if (numa_available() == 0) {
printf("numa max node: %d\n", numa_max_node());
} else {
printf("numa not available\n");
}
return (0);
}