modify output format
support sema, delay
support -S option