Implemented serial IO analysis + small fixes in CPU analysis