Searched refs:profile_header (Results 1 - 4 of 4) sorted by relevance

/netgear-R7800-V1.0.2.28/package/qca-nss-clients/src/profiler/
H A Dprofpkt.h73 * Each packet starts with a profile_header, then sample_count samples;
92 struct profile_header { // in network byte order ! struct
H A Dprofile.c148 struct profile_header ph;
/netgear-R7800-V1.0.2.28/target/linux/ubicom32/files/arch/ubicom32/mach-common/
H A Dprofile.c73 struct profile_header ph;
76 if (count < sizeof(struct profile_header) + sizeof(struct profile_sample)) {
83 memset(&ph, 0, sizeof(struct profile_header));
85 ph.header_size = sizeof(struct profile_header);
104 ptr = buf + sizeof(struct profile_header);
106 samples = (count - sizeof(struct profile_header)) / sizeof(struct profile_sample);
119 if (copy_to_user(buf, &ph, sizeof(struct profile_header)) != 0) {
125 return sizeof(struct profile_header) + ph.sample_count * sizeof(struct profile_sample);
H A Dprofpkt.h63 * each packet starts with a profile_header, then sample_count samples
67 struct profile_header { struct

Completed in 8 milliseconds