1. A method comprising: providing data indicative of a counted value acquired by a hardware counter of a processing core during a time segment in which a plurality of tasks are active on the core; and in a processor-based machine, determining a likelihood that the counted value is attributable to a given task of the tasks during the time segment and attributing a portion of the counted value to the given task based at least in part on the determined likelihood.