Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: VS2010 debugger can not see some local variables? Pin
Aescleal23-Aug-10 7:51
Aescleal23-Aug-10 7:51 
GeneralRe: VS2010 debugger can not see some local variables? Pin
Chesnokov Yuriy23-Aug-10 20:28
professionalChesnokov Yuriy23-Aug-10 20:28 
AnswerRe: VS2010 debugger can not see some local variables? Pin
Iain Clarke, Warrior Programmer23-Aug-10 7:59
Iain Clarke, Warrior Programmer23-Aug-10 7:59 
GeneralRe: VS2010 debugger can not see some local variables? Pin
Chesnokov Yuriy23-Aug-10 20:30
professionalChesnokov Yuriy23-Aug-10 20:30 
AnswerRe: VS2010 debugger can not see some local variables? Pin
fasked23-Aug-10 18:54
fasked23-Aug-10 18:54 
GeneralRe: VS2010 debugger can not see some local variables? Pin
Chesnokov Yuriy23-Aug-10 20:31
professionalChesnokov Yuriy23-Aug-10 20:31 
AnswerRe: VS2010 debugger can not see some local variables? Pin
Chesnokov Yuriy23-Aug-10 21:04
professionalChesnokov Yuriy23-Aug-10 21:04 
Questionfrequent memory allocation processing cost Pin
Chesnokov Yuriy23-Aug-10 6:50
professionalChesnokov Yuriy23-Aug-10 6:50 
Having a real-time app which main processing function is invoked as much as 20-30fps performing some image processing is it better to preallocate all temporary buffers used or it does not cost to invoke allocations?

E.g. having to build pyramid of images with specific rescaling for 640x480 image might not consume much of the memory using preallocation scenario.
On the contrary for 15Mpx image the pyramid preallocation is very costly in consuming OS memory.

Is there a frequent memory allocation cost in real-time apps performance?

I remember I tested it long time before and each ::new operation took about dozen of millisecs or so while malloc() was 0 ms.
Чесноков

AnswerRe: frequent memory allocation processing cost Pin
Maximilien23-Aug-10 7:06
Maximilien23-Aug-10 7:06 
AnswerRe: frequent memory allocation processing cost Pin
Aescleal23-Aug-10 7:45
Aescleal23-Aug-10 7:45 
AnswerRe: frequent memory allocation processing cost Pin
Luc Pattyn23-Aug-10 8:48
sitebuilderLuc Pattyn23-Aug-10 8:48 
AnswerRe: frequent memory allocation processing cost Pin
Paul Michalik23-Aug-10 22:51
Paul Michalik23-Aug-10 22:51 
GeneralRe: frequent memory allocation processing cost Pin
Blake Miller3-Sep-10 13:00
Blake Miller3-Sep-10 13:00 
QuestionDetecting I/O errors in Gdiplus Bitmap::Save [modified] Pin
HAJM23-Aug-10 5:02
HAJM23-Aug-10 5:02 
AnswerRe: Detecting I/O errors in Gdiplus Bitmap::Save Pin
Niklas L23-Aug-10 5:30
Niklas L23-Aug-10 5:30 
GeneralRe: Detecting I/O errors in Gdiplus Bitmap::Save Pin
HAJM24-Aug-10 8:44
HAJM24-Aug-10 8:44 
GeneralRe: Detecting I/O errors in Gdiplus Bitmap::Save Pin
Niklas L24-Aug-10 9:02
Niklas L24-Aug-10 9:02 
QuestionEdit control not drawing contents in Windows 7 when text exceeds a certain length Pin
Paul Vickery23-Aug-10 4:57
professionalPaul Vickery23-Aug-10 4:57 
QuestionSometimes Print and PrintPreview Function not responding. Pin
Le@rner22-Aug-10 23:23
Le@rner22-Aug-10 23:23 
QuestionOutPutDebugStringW Issue Pin
gothic_coder22-Aug-10 22:58
gothic_coder22-Aug-10 22:58 
AnswerRe: OutPutDebugStringW Issue Pin
Iain Clarke, Warrior Programmer23-Aug-10 0:53
Iain Clarke, Warrior Programmer23-Aug-10 0:53 
AnswerRe: OutPutDebugStringW Issue Pin
Richard MacCutchan23-Aug-10 1:07
mveRichard MacCutchan23-Aug-10 1:07 
GeneralRe: OutPutDebugStringW Issue Pin
gothic_coder23-Aug-10 1:37
gothic_coder23-Aug-10 1:37 
GeneralRe: OutPutDebugStringW Issue Pin
Richard MacCutchan23-Aug-10 1:50
mveRichard MacCutchan23-Aug-10 1:50 
QuestionHow to overrdide CHtmlView to specify the browser to be used Pin
shankgreen22-Aug-10 21:06
shankgreen22-Aug-10 21:06 

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.