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/impl.h>
11 #include <pcp/import.h>
12
13 int pmiSetTimezone(const char *value);
14
15 cc ... -lpcp_import -lpcp
16
18 use PCP::LogImport;
19
20 pmiSetTimezone($value);
21
23 As part of the Performance Co-Pilot Log Import API (see LOGIMPORT(3)),
24 pmiSetTimezone sets the source timezone in the current context to be
25 value.
26
27 In the absence of a call to pmiSetTimezone the source timezone defaults
28 to the timezone of the localhost.
29
31 pmiSetTimezone returns zero on success else a negative value that can
32 be turned into an error message by calling pmiErrStr(3).
33
35 LOGIMPORT(3), pmiErrStr(3), pmiSetHostname(3) and pmiStart(3).
36
37
38
39Performance Co-Pilot PMISETTIMEZONE(3)