Ignore:
Timestamp:
03/12/15 17:14:42 (7 years ago)
Author:
Richard Sanger <rsangerarj@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, 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:
a978dec
Parents:
b54e2da
Message:

More documentation, including some renaming and modifications to behaviour

  • Removes accessor functions for libtrace_result_t, instead directly access the structure
  • Documentation for most functions
  • Split tick into interval and count messages for the two modes of operation
  • Normalise interval and packet order to use the erf timestamp format
  • Rename trace_send_message_to_XXX to trace trace_message_XXX
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test-format-parallel-reporter.c

    r6a082f8 r6a6e6a8  
    102102        switch (mesg) {
    103103        case MESSAGE_RESULT:
    104                 packet = libtrace_result_get_value(data.res).pkt;
    105                 assert(libtrace_result_get_key(data.res) == trace_packet_get_order(packet));
     104                packet = data.res->value.pkt;
     105                assert(data.res->key == trace_packet_get_order(packet));
    106106                if(last == (uint64_t)-1) {
    107                         last = libtrace_result_get_key(data.res);
     107                        last = data.res->key;
    108108                } else {
    109                         assert (last < libtrace_result_get_key(data.res));
    110                         last = libtrace_result_get_key(data.res);
     109                        assert (last < data.res->key);
     110                        last = data.res->key;
    111111                }
    112112                pktcount++;
    113                 trace_free_result_packet(libtrace, packet);
     113                trace_free_packet(libtrace, packet);
    114114                break;
    115115        case MESSAGE_STOPPING:
Note: See TracChangeset for help on using the changeset viewer.