| To: | pcp@xxxxxxxxxxx |
|---|---|
| Subject: | pcp updates |
| From: | Nathan Scott <nathans@xxxxxxxxxx> |
| Date: | Sat, 3 Mar 2012 10:05:46 +1100 (EST) |
| In-reply-to: | <1928535727.279919.1330729529333.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxx> |
|
Changes committed to git://oss.sgi.com/pcp/pcp.git dev
man/man3/pmdaeventqueue.3 | 2 +- src/include/pcp/pmda.h | 3 ++- src/libpcp_pmda/src/queues.c | 10 ++++------ src/pmdas/etw/event.c | 6 +++++- src/pmdas/etw/event.h | 3 ++- src/pmdas/logger/event.c | 6 +++++- src/pmdas/logger/event.h | 4 ++-- 7 files changed, 21 insertions(+), 13 deletions(-) commit d28f9c942782910b5789f5d5008ca48eb01a83b7 Author: Nathan Scott <nathans@xxxxxxxxxx> Date: Sat Mar 3 10:00:28 2012 +1100 Fix an oversight in the pmda queue API regarding timestamps. In the initial implementation of the shared PMDA queueing API we've tried to maximise code sharing - a little too much so, in this area. We do not want to force the timestamp for an event to have to be the time it arrived at the PMDA, the event may encode its own (more accurate wrt the event) timestamp and we should rather use that. At this stage, its a trivial API tweak, and makes things alot more flexible - we now pass the pmda-arrival-timestamp down to the event decoder routine, allowing the PMDA to choose whether or not it will use that or a timestamp inside the event buffer. There is an associated pcpqa change to watch out for. This API (pmda queues) is new since last release, so there is no chance that anyone else can be relying on this yet (other than pcpqa). |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | pcpqa updates, Ken McDonell |
|---|---|
| Next by Date: | pcpqa updates, Nathan Scott |
| Previous by Thread: | pcpqa updates, Ken McDonell |
| Next by Thread: | pcp updates, Nathan Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |