[Mono-bugs] [Bug 542555] New: [PATCH] Network Performance Counters

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Sep 28 09:49:15 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=542555


           Summary: [PATCH] Network Performance Counters
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: joelwreed at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=320096)
 --> (http://bugzilla.novell.com/attachment.cgi?id=320096)
Implementation

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3)
Gecko/20090924 Ubuntu/9.10 (karmic) Firefox/3.5.3

The attached patch implements 3 "Network Interface" performance category
counters. The counters are "Bytes Received/sec", "Bytes Sent/sec", and "Bytes
Total/sec". A sample program using these counters and sample output is attached
as well.

This information is obtained by reading /proc/net/dev.

The patch changes the following files:

mono/metadata/ChangeLog
mono/metadata/mono-perfcounters-def.h
mono/metadata/mono-perfcounters.c
mono/utils/ChangeLog
mono/utils/mono-proclib.c
mono/utils/mono-proclib.h


Reproducible: Always

Steps to Reproduce:
1.
2.
3.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list