codes-org / codes

The Co-Design of Exascale Storage Architectures (CODES) simulation framework builds upon the ROSS parallel discrete event simulation engine to provide high-performance simulation utilities and models for building scalable distributed systems simulations
Other
40 stars 16 forks source link

eliminate extraneous copying from codes-mapping functions (Imported #44) #44

Closed nmcglo closed 5 years ago

nmcglo commented 8 years ago

Original Issue Author: Jonathan Jenkins Original Issue ID: 44 Original Issue URL: https://xgitlab.cels.anl.gov/codes/codes/issues/44


codes mapping functions strcpy into output buffers, when there is no reason to do so. Would fix it right here and now, but doing so would break the API - char * output args would be changed to char const * *.

nmcglo commented 8 years ago

Jonathan Jenkins:

Status changed to closed

nmcglo commented 8 years ago

Jonathan Jenkins:

Done - see new function codes_mapping_get_lp_info2, which is a simplified, non-copying version of codes_mapping_get_lp_info.