File: hwlocality_syntheticexport.3

package info (click to toggle)
hwloc 1.10.0-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 15,916 kB
  • ctags: 7,500
  • sloc: ansic: 34,194; sh: 12,810; xml: 8,466; makefile: 1,632; sed: 9; php: 8
file content (64 lines) | stat: -rw-r--r-- 2,233 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
.TH "Exporting Topologies to Synthetic" 3 "Tue Oct 7 2014" "Version 1.10.0" "Hardware Locality (hwloc)" \" -*- nroff -*-
.ad l
.nh
.SH NAME
Exporting Topologies to Synthetic \- 
.SS "Enumerations"

.in +1c
.ti -1c
.RI "enum \fBhwloc_topology_export_synthetic_flags_e\fP { \fBHWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES\fP, \fBHWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS\fP }"
.br
.in -1c
.SS "Functions"

.in +1c
.ti -1c
.RI "int \fBhwloc_topology_export_synthetic\fP (\fBhwloc_topology_t\fP topology, char *buffer, size_t buflen, unsigned long flags)"
.br
.in -1c
.SH "Detailed Description"
.PP 

.SH "Enumeration Type Documentation"
.PP 
.SS "enum \fBhwloc_topology_export_synthetic_flags_e\fP"

.PP
Flags for exporting synthetic topologies\&. Flags to be given as a OR'ed set to \fBhwloc_topology_export_synthetic()\fP\&. 
.PP
\fBEnumerator\fP
.in +1c
.TP
\fB\fIHWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES \fP\fP
Export extended types such as L2dcache as basic types such as Cache\&. This is required if loading the synthetic description with hwloc < 1\&.9\&. 
.TP
\fB\fIHWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS \fP\fP
Do not export level attributes\&. Ignore level attributes such as memory/cache sizes or PU indexes\&. This is required if loading the synthetic description with hwloc < 1\&.10\&. 
.SH "Function Documentation"
.PP 
.SS "int hwloc_topology_export_synthetic (\fBhwloc_topology_t\fPtopology, char *buffer, size_tbuflen, unsigned longflags)"

.PP
Export the topology as a synthetic string\&. At most \fCbuflen\fP characters will be written in \fCbuffer\fP, including the terminating \\0\&.
.PP
This exported string may be given back to \fBhwloc_topology_set_synthetic()\fP\&.
.PP
\fCflags\fP is a OR'ed set of hwloc_topology_export_synthetic_flags_e\&.
.PP
\fBReturns:\fP
.RS 4
The number of characters that were written, not including the terminating \\0\&.
.PP
-1 if the topology could not be exported, for instance if it is not symmetric\&.
.RE
.PP
\fBNote:\fP
.RS 4
A 1024-byte buffer should be large enough for exporting topologies in the vast majority of cases\&. 
.RE
.PP

.SH "Author"
.PP 
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.