Ignore vagrant folder

Signed-off-by: Phan Le <ple@pivotallabs.com>
Add CollectCpuStats to collect CPU stats over time

Signed-off-by: Phan Le <ple@pivotallabs.com>
Add vagrant file to run test in linux

Signed-off-by: Phan Le <ple@pivotallabs.com>
Add .travis file

Signed-off-by: Phan Le <ple@pivotallabs.com>
CollectCpuStats should not block when slow consumer

If ticker ticks before consumer reads from values channel CollectCpuStats
will block.

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Return the first CPU sample immediately

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Add sigar interface

* Sigar is now called ConcreteSigar
* Add FakeSigar
* Interface defines CollectCpuStats method

Signed-off-by: Kris Hicks <krishicks@gmail.com>
Add GetLoadAverage to Sigar interface

Signed-off-by: Kris Hicks <krishicks@gmail.com>
Add GetMem to Sigar interface

Signed-off-by: Kris Hicks <krishicks@gmail.com>
Add GetSwap to Sigar interface

Signed-off-by: Kris Hicks <krishicks@gmail.com>
Add GetFileSystemUsage to Sigar interface

Signed-off-by: Kris Hicks <krishicks@gmail.com>
Add windows version

- Fix sigar_unix file to not compile on windows
- Start work on windows implementation
Merge pull request #9 from cloudfoundry-incubator/master

Add windows version
Merge remote-tracking branch 'upstream/master'