Click here to Skip to main content
15,880,503 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow do I remove thousand seperator. Pin
cozyu15-Apr-09 16:06
cozyu15-Apr-09 16:06 
AnswerRe: How do I remove thousand seperator. Pin
Stuart Dootson15-Apr-09 22:47
professionalStuart Dootson15-Apr-09 22:47 
GeneralRe: How do I remove thousand seperator. Pin
Cedric Moonen16-Apr-09 0:00
Cedric Moonen16-Apr-09 0:00 
GeneralRe: How do I remove thousand seperator. Pin
Stuart Dootson16-Apr-09 0:08
professionalStuart Dootson16-Apr-09 0:08 
Question[OT] Re: How do I remove thousand seperator. Pin
David Crow16-Apr-09 3:28
David Crow16-Apr-09 3:28 
AnswerRe: [OT] Re: How do I remove thousand seperator. Pin
Stuart Dootson16-Apr-09 3:32
professionalStuart Dootson16-Apr-09 3:32 
GeneralRe: How do I remove thousand seperator. Pin
cozyu16-Apr-09 16:03
cozyu16-Apr-09 16:03 
QuestionMeasure timing of functions Pin
dybs15-Apr-09 14:33
dybs15-Apr-09 14:33 
I have a C/C++ program (yes, a mix of both) that acquires data from a hardware device and displays it in real time. I want to add some processing on the data as soon as I read it, but I want to make sure it doesn't slow down the data acquisition too much. Is there a utility that will measure how long a function takes or how often it is called?

I already use the Red Gate ANTS profiler for my .NET apps, but it doesn't work with native code. Also, any profilers I've tried tend to slow down the application quite a bit. Is there a way I can measure the execution time without affecting it too?

Or would it be best to use the clock() function from time.h to measure this?

Thanks,

Dybs
AnswerRe: Measure timing of functions Pin
Luc Pattyn15-Apr-09 14:52
sitebuilderLuc Pattyn15-Apr-09 14:52 
AnswerRe: Measure timing of functions Pin
Stuart Dootson15-Apr-09 15:33
professionalStuart Dootson15-Apr-09 15:33 
GeneralRe: Measure timing of functions Pin
dybs15-Apr-09 15:59
dybs15-Apr-09 15:59 
AnswerRe: Measure timing of functions Pin
Jijo.Raj15-Apr-09 22:37
Jijo.Raj15-Apr-09 22:37 
QuestionC++ function source code size Pin
Eureka_jim15-Apr-09 10:35
Eureka_jim15-Apr-09 10:35 
AnswerRe: C++ function source code size Pin
Stuart Dootson15-Apr-09 11:18
professionalStuart Dootson15-Apr-09 11:18 
GeneralRe: C++ function source code size Pin
Rolf Kristensen15-Apr-09 11:52
Rolf Kristensen15-Apr-09 11:52 
GeneralRe: C++ function source code size Pin
Stuart Dootson15-Apr-09 15:15
professionalStuart Dootson15-Apr-09 15:15 
GeneralRe: C++ function source code size Pin
Eureka_jim16-Apr-09 6:13
Eureka_jim16-Apr-09 6:13 
AnswerRe: C++ function source code size Pin
Rolf Kristensen15-Apr-09 11:50
Rolf Kristensen15-Apr-09 11:50 
QuestionActiveX Pin
siva45515-Apr-09 8:33
siva45515-Apr-09 8:33 
AnswerRe: ActiveX Pin
KarstenK16-Apr-09 4:35
mveKarstenK16-Apr-09 4:35 
QuestionSendMessage in VS 2008 Pin
CString(0xcccccccc)15-Apr-09 7:41
CString(0xcccccccc)15-Apr-09 7:41 
AnswerRe: SendMessage in VS 2008 Pin
Stuart Dootson15-Apr-09 9:43
professionalStuart Dootson15-Apr-09 9:43 
GeneralRe: SendMessage in VS 2008 Pin
CString(0xcccccccc)15-Apr-09 12:48
CString(0xcccccccc)15-Apr-09 12:48 
GeneralRe: SendMessage in VS 2008 Pin
Stuart Dootson15-Apr-09 15:33
professionalStuart Dootson15-Apr-09 15:33 
GeneralRe: SendMessage in VS 2008 Pin
CString(0xcccccccc)15-Apr-09 21:31
CString(0xcccccccc)15-Apr-09 21:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.