Lines Matching refs:ts
315 unsigned long long ts; in trailer_timestamp() local
317 memcpy(&ts, &te->timestamp[idx], sizeof(ts)); in trailer_timestamp()
318 return be64toh(ts); in trailer_timestamp()
599 static int s390_cpumsf_samples(struct s390_cpumsf_queue *sfq, u64 *ts) in s390_cpumsf_samples() argument
612 *ts = ~0ULL; in s390_cpumsf_samples()
628 if (aux_ts > *ts) { in s390_cpumsf_samples()
629 *ts = aux_ts; in s390_cpumsf_samples()
657 if (aux_ts > *ts) { in s390_cpumsf_samples()
658 *ts = aux_ts; in s390_cpumsf_samples()
666 *ts = aux_ts; in s390_cpumsf_samples()
693 u64 *ts) in s390_cpumsf_run_decoder() argument
712 *ts = ~0ULL; in s390_cpumsf_run_decoder()
748 err = s390_cpumsf_samples(sfq, ts); in s390_cpumsf_run_decoder()
800 unsigned int queue_nr, u64 ts) in s390_cpumsf_setup_queue() argument
816 return auxtrace_heap__add(&sf->heap, queue_nr, ts); in s390_cpumsf_setup_queue()
819 static int s390_cpumsf_setup_queues(struct s390_cpumsf *sf, u64 ts) in s390_cpumsf_setup_queues() argument
826 i, ts); in s390_cpumsf_setup_queues()
833 static int s390_cpumsf_update_queues(struct s390_cpumsf *sf, u64 ts) in s390_cpumsf_update_queues() argument
839 return s390_cpumsf_setup_queues(sf, ts); in s390_cpumsf_update_queues()
845 u64 ts; in s390_cpumsf_process_queues() local
864 ts = sf->heap.heap_array[0].ordinal + 1; in s390_cpumsf_process_queues()
865 if (ts > timestamp) in s390_cpumsf_process_queues()
866 ts = timestamp; in s390_cpumsf_process_queues()
868 ts = timestamp; in s390_cpumsf_process_queues()
871 ret = s390_cpumsf_run_decoder(sfq, &ts); in s390_cpumsf_process_queues()
873 auxtrace_heap__add(&sf->heap, queue_nr, ts); in s390_cpumsf_process_queues()
877 ret = auxtrace_heap__add(&sf->heap, queue_nr, ts); in s390_cpumsf_process_queues()