Print

Print


Hi Andy, Hi xrootd-dev (IDK who is :-) )

  Let's take an example:

FileOpen
File /foo/foo
tBeg: 1
tEnd: 2

FileClose
File /foo/foo
tBeg: 3
tEnd:4

whit this:

The time to process the file is: tBeg (3) - tBeg(1) = 2

Is that right?


*--Fábio Andrijauskas*


On Fri, May 5, 2023 at 8:54 PM Andrew Hanushevsky ***@***.***>
wrote:

> Well, that's not really true. I have a feeling there is a misunderstanding
> of the documentation:
> https://xrootd.slac.stanford.edu/doc/dev55/xrd_monitoring.htm#_Toc99653755
>
> Note that the following timing structure is always sent in each packet:
>
> struct XrdXrootdMonFileTOD
> {
> XrdXrootdMonFileHdr Hdr; // recType == isTime
> int tBeg; // time(0) of following record
> int tEnd; // time(0) when packet was sent
> kXR_int64 sID; // Server identifier lower 48 bits
> };
>
> So, tBeg &and* tEnd are always sent that this established the time window
> of the packet. So, you mant to print both of those just before the packet
> is sent out.
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/xrootd/xrootd/issues/1988#issuecomment-1536948835>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACEEH76AE22CYZ7HXLKAT6TXEWONXANCNFSM6AAAAAAWTE6SUE>
> .
> You are receiving this because you modified the open/close state.Message
> ID: ***@***.***>
>


-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1988#issuecomment-1540202821
You are receiving this because you commented.

Message ID: <[log in to unmask]>
########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1