public class SourceLogger
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
logTransferStats(java.lang.String tag,
long startTime,
double bytesReceived)
Log data transfer statistics to the Android log.
|
public static void logTransferStats(java.lang.String tag, long startTime, double bytesReceived)
tag
- the Android log tag to use.startTime
- the starting time for the stats calculation in
nanoseconds.bytesReceived
- the number of bytes received over the given period
of time