• Computer,  Programmering

    Programming tools for C and Perl

    Programming tools for C and Perl, which I normally run my programs through gcov, man gcov gprof, man gprof ------ Lint: -h Apply a number of heuristic tests to attempt to intuit bugs, improve style, and reduce waste. -p Attempt to check portability of code to other dialects of C. -s Strict ANSI C mode. lint -h -p -s filename ------ Splint: devel/splint -strict-lib Use strict version of the ANSI standard library. OR -posix-strict-lib Use the strict version of the POSIX standard library. ------ Rats, Rough Auditing Tool for Security For C, Perl, PHP, and Python security/rats --warning 3 Includes low severity vulnerabilities. --html Output in HTML ------ To document: either doxygen…

  • Computer

    OpenMP og parallel computing

    2006-07-26, Lars Sommer Nedenstående er kortfattede egne noter i forbindelse med at anvende OpenMP og lignende til parallel computing opgaver. Målinger på større programmer (compilere (gcc), antivirus/-spam, firewall og lign)? Tools til at måle med:intels compiler har noget vtune til detoprofile på sf.netsuns compiler har en analyser OpenMPopenmp.orgBehøver SMP, f.eks multi-core (CMP), multi-thread (CMT), dual-xeon med hyper-threading compiler directives og support function library kan bruges i c, c++ og fortran implementeret somGOMP (OpenMP for GCC(fra 4.1)),OMPi ( www.cs.uoi.gr/~ompi ), preprocesser før kompileringog i en del compilere (suns og intels bla) God dokumentation på compunity.org/speci/spec25.pdf Eksempel: