1. 11 Nov, 2009 1 commit
    • Zachary T Welch's avatar
      add const keyword to some APIs · ca594adb
      Zachary T Welch authored
      Add 'const' keyword to 'char *' parameters to allow command handlers to
      pass constant string arguments.  These changes allow the 'args' command
      handler to be changed to 'const' in a subsequent patch.
      ca594adb
  2. 10 Nov, 2009 1 commit
  3. 09 Nov, 2009 1 commit
    • Zachary T Welch's avatar
      Overhaul time support API · 2689f58f
      Zachary T Welch authored
      This patch changes the duration_* API in several ways.  First, it
      updates the API to use better names.  Second, string formatting has
      been removed from the API (with its associated malloc).  Finally, a
      new function added to convert the time into seconds, which can be
      used (or formatted) by the caller.  This eliminates hidden calls to
      malloc that require associated calls to free().
      
      This patch also removes the useless extern keyword from prototypes,
      and it eliminates the duration_t typedef (use 'struct duration').
      These API also allows proper error checking, as it is possible for
      gettimeofday to fail in certain circumstances.
      
      The consumers have all been chased to use this new API as well, as
      there were relatively few cases doing this type of measurement.
      In most cases, the code performs additional checks for errors, but
      the calling code looks much cleaner in every case.
      2689f58f
  4. 06 Nov, 2009 3 commits
  5. 20 Oct, 2009 2 commits
  6. 10 Oct, 2009 1 commit
  7. 22 Sep, 2009 2 commits
  8. 16 Sep, 2009 1 commit
  9. 30 Aug, 2009 1 commit
  10. 17 Jul, 2009 1 commit
  11. 30 Jun, 2009 1 commit
  12. 24 Jun, 2009 1 commit
  13. 23 Jun, 2009 13 commits
  14. 21 Jun, 2009 1 commit
  15. 18 Jun, 2009 2 commits
  16. 05 Jun, 2009 1 commit
  17. 31 May, 2009 1 commit
  18. 21 May, 2009 1 commit
  19. 18 May, 2009 1 commit
  20. 11 May, 2009 2 commits
  21. 07 May, 2009 1 commit
  22. 30 Apr, 2009 1 commit