diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-04-08 07:40:06 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-04-08 07:40:06 -0700 |
| commit | c7f7bcb6e2cfbf66c7fab158b0ac02890243b5bb (patch) | |
| tree | 5ed428c6d3ba3777dcc8ca073f99fa132e57dc4d /docs/man/nng_stat_timestamp.3.adoc | |
| parent | 2806ad76d9c5673b9305cfab00e738941fb7938c (diff) | |
| download | nng-c7f7bcb6e2cfbf66c7fab158b0ac02890243b5bb.tar.gz nng-c7f7bcb6e2cfbf66c7fab158b0ac02890243b5bb.tar.bz2 nng-c7f7bcb6e2cfbf66c7fab158b0ac02890243b5bb.zip | |
Converted stats pages
Diffstat (limited to 'docs/man/nng_stat_timestamp.3.adoc')
| -rw-r--r-- | docs/man/nng_stat_timestamp.3.adoc | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/docs/man/nng_stat_timestamp.3.adoc b/docs/man/nng_stat_timestamp.3.adoc deleted file mode 100644 index 74d827e8..00000000 --- a/docs/man/nng_stat_timestamp.3.adoc +++ /dev/null @@ -1,60 +0,0 @@ -= nng_stat_timestamp(3) -// -// Copyright 2018 Staysail Systems, Inc. <info@staysail.tech> -// Copyright 2018 Capitar IT Group BV <info@capitar.com> -// -// This document is supplied under the terms of the MIT License, a -// copy of which should be located in the distribution where this -// file was obtained (LICENSE.txt). A copy of the license may also be -// found online at https://opensource.org/licenses/MIT. -// - -== NAME - -nng_stat_timestamp - get statistic timestamp - -== SYNOPSIS - -[source, c] ----- -#include <nng/nng.h> - -typedef struct nng_stat nng_stat; - -uint64_t nng_stat_timestamp(nng_stat *stat); ----- - -== DESCRIPTION - -The `nng_stat_timestamp()` function returns the a timestamp, which is measured -as a number of milliseconds since some arbitrary value in the past. - -Even within the same snapshot, statistics might have different timestamp -values, as the timestamp represents the time when that particular statistic -was captured. - -TIP: These values are intended to facilitate calculation of rates, by -comparing values from one snapshot with a subsequent one. - -TIP: The values used here have the same offset as the -xref:nng_clock.3supp.adoc[`nng_clock()`] supplemental function. -This can be useful when converting these values to local clock time. - -== RETURN VALUES - -The timestamp when _stat_ was captured, measured as a number of -milliseconds since some time in the past. - -== ERRORS - -None. - -== SEE ALSO - -[.text-left] -xref:libnng.3.adoc[libnng(3)], -xref:nng_stats_get.3.adoc[nng_stats_get(3)], -xref:nng_stat_value.3.adoc[nng_stat_value(3)], -xref:nng_clock.3supp.adoc[nng_clock(3supp)], -xref:nng_stat.5.adoc[nng_stat(5)], -xref:nng.7.adoc[nng(7)] |
