Changeset 17781
- Timestamp:
- May 23, 2008, 11:29:44 AM (18 years ago)
- Location:
- trunk/pswarp/src
- Files:
-
- 2 edited
-
pswarp.c (modified) (5 diffs)
-
pswarpLoop.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarp.c
r14641 r17781 13 13 int main (int argc, char **argv) 14 14 { 15 psTimerStart ("complete");15 psTimerStart("pswarp"); 16 16 17 17 psLibInit(NULL); … … 19 19 // model inits are needed in pmSourceIO 20 20 // models defined in psphot/src/models are not available in psastro 21 pmModelClassInit ();21 pmModelClassInit(); 22 22 23 pmConfig *config = pswarpArguments (argc, argv);24 if (!config) usage ();23 pmConfig *config = pswarpArguments(argc, argv); 24 if (!config) usage(); 25 25 26 26 if (!pswarpOptions(config)) { … … 30 30 31 31 // load identify the data sources 32 if (!pswarpParseCamera (config)) {32 if (!pswarpParseCamera(config)) { 33 33 psErrorStackPrint(stderr, "error setting up the camera\n"); 34 34 exit (1); … … 36 36 37 37 // load the skycell layout information 38 if (!pswarpDefine (config)) {38 if (!pswarpDefine(config)) { 39 39 psErrorStackPrint(stderr, "error loading output definition\n"); 40 40 exit (1); … … 47 47 } 48 48 49 psLogMsg ("pswarp", 3, "complete pswarp run: %f sec\n", psTimerMark ("complete"));50 pswarpCleanup (config);49 psLogMsg("pswarp", 3, "complete pswarp run: %f sec\n", psTimerMark("pswarp")); 50 pswarpCleanup(config); 51 51 psLibFinalize(); 52 exit (EXIT_SUCCESS);52 exit(EXIT_SUCCESS); 53 53 } -
trunk/pswarp/src/pswarpLoop.c
r17569 r17781 352 352 // Write out summary statistics 353 353 if (stats) { 354 psMetadataAddF32(stats, PS_LIST_TAIL, "DT_WARP", 0, "Time for warp completion", 355 psTimerMark("pswarp")); 356 354 357 const char *statsMDC = psMetadataConfigFormat(stats); 355 358 if (!statsMDC) {
Note:
See TracChangeset
for help on using the changeset viewer.
