[#BloombergLP-bsls-SystemClockType] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::SystemClockType :relfileprefix: ../../ :mrdocs: This `struct` provides a namespace for enumerating the set of system clock type for use in distinguishing which system clock to use for measuring time. See `Enum` in the TYPES sub‐section for details. == Synopsis Declared in `<bsls_systemclocktype.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct SystemClockType; ---- == Enums [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsls/SystemClockType/Enum.adoc[`Enum`] | System clock type enumerators. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsls/SystemClockType/toAscii.adoc[`toAscii`] | Return the non‐modifiable string representation corresponding to the specified enumeration `value`, if it exists, and a unique (error) string otherwise. The string representation of `value` matches its corresponding enumerator name with the "e_" prefix elided. For example: ` bsl::cout << SystemClockType::toAscii(SystemClockType::e_REALTIME); ` will print the following on standard output: ` REALTIME ` Note that specifying a `value` that does not match any of the enumerators will result in a string representation that is distinct from any of those corresponding to the enumerators, but is otherwise unspecified. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#