2.2.10.2.4 DNSSRV_TIME_STATS

The DNSSRV_TIME_STATS structure has the DNS server's time-related statistics. This structure MUST be formatted as follows:


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Header

...

ServerStartTimeSeconds

LastClearTimeSeconds

SecondsSinceServerStart

SecondsSinceLastClear

ServerStartTime (16 bytes)

...

...

LastClearTime (16 bytes)

...

...

Header (8 bytes): A structure of type DNSSRV_STAT_HEADER (section 2.2.10.2.1).

ServerStartTimeSeconds (4 bytes): The number of seconds that has elapsed since the server machine was last restarted, that is, the operating system uptime in seconds, as a 32-bit unsigned integer. If the value is greater than 0xFFFFFFFF, then the value modulo 0x100000000 is stored in the field.

LastClearTimeSeconds (4 bytes): The number of seconds that elapsed between the time the server machine was restarted and the last time the server statistics were cleared, that is, the operating system uptime in seconds at the time of the last statistics reset, as a 32-bit unsigned integer. If the value is greater than 0xFFFFFFFF, then the value modulo 0x100000000 is stored in the field.

SecondsSinceServerStart (4 bytes): The number of seconds since the server started, that is, the uptime of the DNS server software in seconds, as a 32-bit unsigned integer. If the value is greater than 0xFFFFFFFF, then the value modulo 0x100000000 is stored in the field.

SecondsSinceLastClear (4 bytes): The number of seconds since the last time that the server statistics were cleared, as a 32-bit unsigned integer. If the value is greater than 0xFFFFFFFF, then the value modulo 0x100000000 is stored in the field.

ServerStartTime (16 bytes): A DNS_SYSTEMTIME structure (section 2.2.10.2.3) that contains the time the server started.

LastClearTime (16 bytes): A DNS_SYSTEMTIME structure (section 2.2.10.2.3) that contains the time the server statistics was last cleared.