1PMISETTIMEZONE(3) Library Functions Manual PMISETTIMEZONE(3)
2
3
4
6 pmiSetTimezone - set the source timezone for a LOGIMPORT archive
7
9 #include <pcp/pmapi.h>
10 #include <pcp/import.h>
11
12 int pmiSetTimezone(const char *value);
13
14 cc ... -lpcp_import -lpcp
15
17 use PCP::LogImport;
18
19 pmiSetTimezone($value);
20
22 As part of the Performance Co-Pilot Log Import API (see LOGIMPORT(3)),
23 pmiSetTimezone sets the source timezone in the current context to be
24 value.
25
26 In the absence of a call to pmiSetTimezone the source timezone defaults
27 to the timezone of the localhost.
28
30 pmiSetTimezone returns zero on success else a negative value that can
31 be turned into an error message by calling pmiErrStr(3).
32
34 LOGIMPORT(3), pmiErrStr(3), pmiSetHostname(3), pmiSetVersion(3) and
35 pmiStart(3).
36
37
38
39Performance Co-Pilot PMISETTIMEZONE(3)