Questions tagged [pdh]

PDH or Plesiochronous Digital Hierarchy is a telecommunication technology used to transport large amount of data through some advanced digital communication mediums like Optical fibers and microwave systems

Plesiochronous Digital Hierarchy is a data transmission technology which can work with synchronous networks as well as near synchronous networks. The Greek word plēsios means near and chronos means time, thus referring to near synchronous network technology.

The technology is now becoming obsolete because of some advanced technologies such as SDH(Synchronous Digital Hierarchy) and SONET(Synchronous Optical NETworking).

The pdh technology supports high speed data transmission but it doesn't guarantee synchronization, thus it is possible that one part of the network is working faster than another.

12 questions
6
votes
2 answers

Most efficient and fundamental way to get cpu % usage and network throughput on Windows?

What is the most efficient and fundamental way to get cpu % usage and network throughput on windows platform? Correct Me If I'm Wrong... windows api // Win32? SDK? (c/c++) #sorry, I have no idea... Windows Management Instrumentation (WMI),…
3
votes
2 answers

Are instance names for system performance counters localized?

Performance counter names in Windows are localized, so for instance the counter \Processor(_Total)\% Processor Time is called something else in other language versions of Windows. This means that in order to find the correct name one must first find…
villintehaspam
  • 8,540
  • 6
  • 45
  • 76
2
votes
2 answers

C++ - Find current CPU usage in Hertz (Windows)

Current Situation: I'm looking to try and measure the current CPU utilisation of my system in Hertz. I've had a look at this answer which addresses my question, however I cannot seem to make the code work. This is my current code in main.cpp (from…
2
votes
2 answers

Getting current cpu usage in c++/windows for particular process

I want to calculate current cpu usage for particular application in my code. I looked up on internet and found pdh library for windows. When I tried it I am getting overall cpu usage not cpu usage for one process. PdhAddCounter(hquery,…
Darshan
  • 151
  • 5
  • 13
2
votes
1 answer

Error with using PdhAddEnglishCounter

My code: #include #include #include #pragma comment (lib, "pdh.lib") void main() { PDH_STATUS Status; HQUERY Query = NULL; HCOUNTER Counter; WCHAR buffer[PDH_MAX_COUNTER_PATH]; PdhOpenQuery(NULL,…
Alexander Mashin
  • 693
  • 3
  • 14
  • 34
2
votes
1 answer

CPU Percentages found in Perfmon

I am programming a client to collect performance data from windows machines. This data will be send to a central server storing the information and displaying it graphically. I am using the windows performance API to collect the system data. But…
roohan
  • 731
  • 3
  • 8
  • 15
1
vote
1 answer

pointers concept in SONET technologies

I am a newbie learning SONET technologies.I have read about SONET ,got a basic idea regarding synchronization,frame format,layers ,standards etc .I am finding hard to understand the concepts of pointers in SONET. Googled many things ,but not have a…
sudeep
  • 81
  • 7
0
votes
1 answer

Race condition with Performance Counters for current process

I am trying to get around the old "How do I get a Windows Performance Counter for the current process" issue. Basically I am enumerating Process Object instances to get a list of Process objects that I can then query for their process id and compare…
villintehaspam
  • 8,540
  • 6
  • 45
  • 76
0
votes
1 answer

How can i know thread name for PDH from thread id

I need to check context switches for thread. I'm writing function, that return context switches from thread id. I'm computing context switch counts using the PDH library. I can get the thread context switch count for all threads using this…
Alexander Mashin
  • 693
  • 3
  • 14
  • 34
0
votes
1 answer

PdhGetFormattedCounterValue and correct Format

Im trying to understand the performance API but I have a problem to understand the PdhGetFormattedCounterValue function and the dwFormat parameter. How do I know which format to choose when calling this function? I found the PDH_COUNTER_INFO…
roohan
  • 731
  • 3
  • 8
  • 15
0
votes
2 answers

PDH cant access total CPU time through PdhAddCounter()

i am currently trying to make some sort of CPU usage overview for my DirectX program, but it seems that i am not able to get this information through PdhAddCounter(). My code looks like this: status = PdhOpenQuery(NULL, 0, &m_queryHandle); …
puelo
  • 5,464
  • 2
  • 34
  • 62
0
votes
1 answer

Counting number of threads on windows server; counter path

There was a similar thread about this here, and I tried to implement it myself. i.e. Trying to get the number of threads running in the server using c++ library. May I know exactly what COUNTER_PATH is? (e.g. "\Process(*_)\Thread Count" in the given…
user945216
  • 251
  • 3
  • 14