pcp
[Top] [All Lists]

pcp updates: python tweaks

To: pcp@xxxxxxxxxxx
Subject: pcp updates: python tweaks
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 16 Apr 2013 06:04:08 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: rU0OxRWkbGTM85+7+G3tMLBQGJ814w==
Thread-topic: pcp updates: python tweaks
Changes committed to git://oss.sgi.com/nathans/pcp.git dev

 src/python/pcp/pmapi.py |   60 +++++++++++++----
 src/python/pcp/pmcc.py  |    2 
 src/python/pcp/pmda.py  |  169 +++++++++++++++++++++++++++++++++++++++---------
 src/python/pmapi.c      |   15 ++++
 4 files changed, 202 insertions(+), 44 deletions(-)

commit 087565d6668da812bbf6df600ed797df76801997
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Apr 16 20:02:47 2013 +1000

    Further work on the python PMDA module interface
    
    New definitions for structures we offer the pmda author
    use of (pmdaMetric, pmdaInstid, pmdaIndom).  Flesh out
    the implementation of the dispatch class a bit more.

commit bc449d29c517d3199abdc1624feed6750be78dd5
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Apr 16 20:00:02 2013 +1000

    Fix incorrect use of invalid member var in python pmcc classes
    
    MetricResultHandle constructor references a non-existent local
    member - fix it to use the actual member variable.

commit 373e43cfcb31b908fc6e08d20a6ce47ff9aee3f1
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Apr 16 13:12:59 2013 +1000

    Python wrapper library updates for several time functions
    
    Time related updates to the pmapi python wrapper.  Added in
    missing interfaces for pmCtime and pmLocaltime.  Changed the
    to-string function for timeval structure to call the libpcp
    __pmtimevalToReal call, after finding the precision reported
    by the datetime modules to-string to be at the date-level,
    not at the seconds-level (so tacking usec onto that is odd).

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: python tweaks, Nathan Scott <=