1liblgrp(3LIB) Interface Libraries liblgrp(3LIB)
2
3
4
6 liblgrp - locality group library
7
9 cc [ flag... ] file... -llgrp [ library... ]
10 #include <sys/lgrp_user.h>
11
12
14 The functions in this library traverse the lgroup (locality group)
15 hierarchy, discover its contents, and set a thread's affinity for an
16 lgroup. A locality group represents the set of CPU-like and memory-like
17 hardware devices that are at most some locality apart from each other.
18
20 The shared object liblgrp.so.1 provides the public interfaces defined
21 below. See Intro(3) for additional information on shared object inter‐
22 faces.
23
24
25
26
27 lgrp_affinity_get lgrp_affinity_set
28 lgrp_children lgrp_cookie_stale
29 lgrp_cpus lgrp_fini
30 lgrp_home lgrp_init
31 lgrp_latency lgrp_latency_cookie
32 lgrp_mem_size lgrp_nlgrps
33 lgrp_parents lgrp_resourcess
34 lgrp_root lgrp_version
35 lgrp_view
36
37
39 /usr/lib/liblgrp.so.1 shared object
40
41
42 /usr/lib/64/liblgrp.so.1 64-bit shared object
43
44
46 See attributes(5) for descriptions of the following attributes:
47
48
49
50
51 ┌─────────────────────────────┬─────────────────────────────┐
52 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
53 ├─────────────────────────────┼─────────────────────────────┤
54 │Availability │SUNWcsl (32-bit) │
55 ├─────────────────────────────┼─────────────────────────────┤
56 │ │SUNWcslx (64-bit) │
57 ├─────────────────────────────┼─────────────────────────────┤
58 │Interface Stability │Evolving │
59 ├─────────────────────────────┼─────────────────────────────┤
60 │MT-Level │MT-Safe │
61 └─────────────────────────────┴─────────────────────────────┘
62
64 Intro(3), lgrp_affinity_get(3LGRP), lgrp_children(3LGRP),
65 lgrp_cookie_stale(3LGRP), lgrp_cpus(3LGRP), lgrp_fini(3LGRP),
66 lgrp_home(3LGRP), lgrp_init(3LGRP), lgrp_latency(3LGRP),
67 lgrp_mem_size(3LGRP), lgrp_nlgrps(3LGRP), lgrp_parents(3LGRP),
68 lgrp_root(3LGRP), lgrp_version(3LGRP), lgrp_view(3LGRP), attributes(5)
69
70
71
72SunOS 5.11 26 Jan 2005 liblgrp(3LIB)