Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Inventory Manager For Dynamics CRM 4.0
Dockit Migrator for SharePoint 11.8.6905
Australia Post Shipping For Magento 2 1.0.0
StarTrack Shipping For Magento 2 2.0.0
Mydala script 1.3
dotConnect for FreshBooks 1.8
Odoo Kingfisher Theme 1.0
Bitcoin Mining Software - Bitcoin Mining Script 1.0.2
Excel Add-in for Magento 1.7
Excel Add-in for MailChimp 1.7
Devart Excel Add-in for QuickBooks 1.7
Excel Add-in for PostgreSQL 1.7
Devart Excel Add-in for MySQL 1.7
Devart Excel Add-in for NetSuite 1.7
Excel Add-in for Salesforce 1.7
Top Code
ATN Site Builder 3.0
ATN Resume Finder 2.0
PHP Review Script 1.0
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
Excel Add-in for PostgreSQL 1.1
Excel Add-in for Salesforce 1.1
Excel Add-in for MailChimp 1.1
Aglowsoft SQL Query Tools 8.2
Classified Ad Lister 1.0
Solid File System OS edition 5.1
ADO.NET Provider for ExactTarget 1.0
Deals and Discounts Website Script 1.0.2
dotConnect for FreshBooks 1.8
Excel Add-in for Magento 1.6
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Helper subclass for win32pdhquery 
File ID: 66373






Helper subclass for win32pdhquery 
Download Helper subclass for win32pdhquery http://code.activestate.com/recipes/499372-context-manager-for-calling-a-method-when-exiting-/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 2
Submit Rating:
Helper subclass for win32pdhquery  Description
Description: One of the few perks one can have when developing on Windows (at least NT or newer) is the use of the Performance Data Helper (the PDH can be found on Windows XP under the Control Panel at Administrative Tools -> Performance) for system statistics gathering. There is a bevy of counters available that can greatly help you measure the impact your code has on the current system.

And luckily win32all provides a wrapper to create counters. The only drawback, though, is that the API is not the best in the world. So, to help deal with that I wrote a subclass to help with adding counters and formatting the output in a more usable fashion as either CSV or a dict that can be pickled.

License: Freeware

Related: Debugging

O/S:Windows

Downloads: 2



More Similar Code

Building Data Access Helper Component for Microsoft SQL Server is a tutorial which helps you to create a helper function for accessing MS SqlServer Data Sources. You can download this class library on your appliction. This tutorial is helpful for the novice.



Tweetbacks Helper is a helper Plugin for Tweetbacks Plugin to help it detect more tweets.

Features

This Plugin can disable Pseudo cron scheduler by Tweetbacks and replace it with its own scheduler, that can be invoked by...



This is a helper module for the DrupalMU installation profile.

Since DrupalMU has been replaced and is no longer maintained, this helper module isn't either.



jq4r creates a jQuery helper functions for Rails. The project page is also in http://jq4r.googlecode.com/



This module is a helper module for a customized Firefox plugin that displays Drupal debugging and SQL query information (thanks to integration with devel module) to the Firebug window.

The current Firefox development plugin can be...



The Flickr API module serves as a helper module for other Drupal Flickr modules. You don't need this module unless another module requires it or you want to develop a new Flickr-based module.

To use this module, or any Flickr services...



This is a helper module for ImageField. When uploading multiple images for imagefields with multi-values, this module adds the ability to upload multiple images in zip files instead of individually.
Note

You must have Zip support...



TEKLOAD Helper function for loading saved waveform data

Usage:
dataStruct = tekload(filename,fileformat);

filename is the full name of the file you want to load. fileformat is a string containing the format the file...



Helper Plugin for GeSHi Plugin
Enables you to use GeSHi and WYSIWYG Editors

See http://www.newmedia-oleart.de/download/geshihelper.html for more information (german).

This is a solution for the ones who have problems...



It contains helper functions for common update tasks, such as renaming variables, installing and reverting features, granting and revoking permissions, deleting and altering CCK fields, changing content type information like Title label, etc.

User Review for Helper subclass for win32pdhquery
- required fields
     

Please enter text on the image