This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: analysis of polling in systemtap


Hi -

hunt wrote:

> [...] The real problem I want to solve is how to better handle timer
> events that print data and then clear a pmap. Because clearing a
> large pmap can be expensive and could be done for free while
> aggregating it.

This idiom (iterating then clearing an array) may well be frequent
enough to justify yet another addition to the "foreach" syntax, say a
"delete" keyword somewhere in the mix.  Before long, we'll get to the
Common Lisp LOOP macro.

- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]