Changeset 82dc7d8 for test/test2.c


Ignore:
Timestamp:
02/23/06 13:51:28 (16 years ago)
Author:
Perry Lorier <perry@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
208f694
Parents:
8ea5b38
Message:

Lots of cleanups
Added test-event

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test2.c

    r5b91b48 r82dc7d8  
    6262        trace_start(trace);
    6363       
     64        packet=trace_create_packet();
    6465        for (;;) {
    65                 packet=trace_create_packet();
    6666                if ((psize = trace_read_packet(trace, packet)) <0) {
    6767                        error = 1;
     
    7373                }
    7474                count ++;
    75                 trace_destroy_packet(&packet);
    7675        }
     76        trace_destroy_packet(&packet);
    7777        if (error == 0) {
    7878                if (count == 100) {
Note: See TracChangeset for help on using the changeset viewer.