Click here to Skip to main content
15,914,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: About memory copy speedup Pin
Joe Woodbury1-Mar-04 18:18
professionalJoe Woodbury1-Mar-04 18:18 
GeneralRe: About memory copy speedup Pin
w_yufeng1-Mar-04 19:21
w_yufeng1-Mar-04 19:21 
GeneralRe: About memory copy speedup Pin
John M. Drescher1-Mar-04 18:33
John M. Drescher1-Mar-04 18:33 
GeneralRe: About memory copy speedup Pin
Prakash Nadar1-Mar-04 18:42
Prakash Nadar1-Mar-04 18:42 
GeneralRe: About memory copy speedup Pin
John M. Drescher1-Mar-04 18:48
John M. Drescher1-Mar-04 18:48 
GeneralRe: About memory copy speedup Pin
Daniel Turini1-Mar-04 19:30
Daniel Turini1-Mar-04 19:30 
GeneralRe: About memory copy speedup Pin
w_yufeng1-Mar-04 19:35
w_yufeng1-Mar-04 19:35 
GeneralRe: About memory copy speedup Pin
Daniel Turini1-Mar-04 21:20
Daniel Turini1-Mar-04 21:20 
w_yufeng wrote:
I must copy current Xn to Xn_1 and save current grabed image to Xn to use next time
This is what I don't understand. Why can't you just grab the ccd image directly to Xn?
Or does the CCD provide its own memory buffers? If this is the case, you're in trouble.
If the buffers are aligned on the OS 4,096 byte boundaries, you can try to use copy-on-write to duplicate physical memory pages as logical memory pages. This would be instantaneous, although I'm not sure if this is possible under Win32, but I think that by using VirtualAlloc/VirtualProtect you may be able to do it.


Perl combines all the worst aspects of C and Lisp: a billion different sublanguages in one monolithic executable. It combines the power of C with the readability of PostScript. -- Jamie Zawinski
GeneralRe: About memory copy speedup Pin
Lido Paul1-Mar-04 22:30
Lido Paul1-Mar-04 22:30 
GeneralRe: About memory copy speedup Pin
Daniel Turini2-Mar-04 0:43
Daniel Turini2-Mar-04 0:43 
GeneralRe: About memory copy speedup Pin
Lido Paul2-Mar-04 15:02
Lido Paul2-Mar-04 15:02 
GeneralRe: About memory copy speedup Pin
Resolver2-Mar-04 22:39
professionalResolver2-Mar-04 22:39 
GeneralModem dialup to retrieve data from SQL 2000 Server... Pin
DengJW1-Mar-04 17:21
DengJW1-Mar-04 17:21 
GeneralRe: Modem dialup to retrieve data from SQL 2000 Server... Pin
Prakash Nadar1-Mar-04 17:31
Prakash Nadar1-Mar-04 17:31 
GeneralRe: Modem dialup to retrieve data from SQL 2000 Server... Pin
DengJW1-Mar-04 18:24
DengJW1-Mar-04 18:24 
GeneralRe: Modem dialup to retrieve data from SQL 2000 Server... Pin
John M. Drescher1-Mar-04 18:39
John M. Drescher1-Mar-04 18:39 
GeneralRe: Modem dialup to retrieve data from SQL 2000 Server... Pin
DengJW1-Mar-04 19:04
DengJW1-Mar-04 19:04 
GeneralRe: Modem dialup to retrieve data from SQL 2000 Server... Pin
John M. Drescher1-Mar-04 19:28
John M. Drescher1-Mar-04 19:28 
GeneralRe: Modem dialup to retrieve data from SQL 2000 Server... Pin
DengJW1-Mar-04 19:36
DengJW1-Mar-04 19:36 
GeneralProblem sovled. Thank u all. Cause is ... Pin
DengJW1-Mar-04 21:07
DengJW1-Mar-04 21:07 
QuestionThough here is C++ but I have a database problem? Pin
DengJW1-Mar-04 16:36
DengJW1-Mar-04 16:36 
AnswerRe: Though here is C++ but I have a database problem? Pin
Prakash Nadar1-Mar-04 18:35
Prakash Nadar1-Mar-04 18:35 
GeneralRe: Though here is C++ but I have a database problem? Pin
DengJW1-Mar-04 18:52
DengJW1-Mar-04 18:52 
GeneralRe: Though here is C++ but I have a database problem? Pin
Prakash Nadar1-Mar-04 19:17
Prakash Nadar1-Mar-04 19:17 
GeneralRe: Though here is C++ but I have a database problem? Pin
DengJW1-Mar-04 19:50
DengJW1-Mar-04 19:50 

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.