Add thread name for PcapRxStats
PcapTxTtagStats thread name has also been shortened since names beyond 16 chars are truncated.
This commit is contained in:
parent
dc6c4963a2
commit
b9345463c4
@ -28,6 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
PcapRxStats::PcapRxStats(const char *device, StreamStats &portStreamStats, int id)
|
||||
: streamStats_(portStreamStats)
|
||||
{
|
||||
setObjectName(QString("Rx$:%1").arg(device));
|
||||
device_ = QString::fromLatin1(device);
|
||||
stop_ = false;
|
||||
state_ = kNotStarted;
|
||||
|
@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
PcapTxTtagStats::PcapTxTtagStats(const char *device, int id)
|
||||
: portId_(id)
|
||||
{
|
||||
setObjectName(QString("TxTtagStats:%1").arg(device));
|
||||
setObjectName(QString("TxT$:%1").arg(device));
|
||||
device_ = QString::fromLatin1(device);
|
||||
|
||||
timing_ = StreamTiming::instance();
|
||||
|
Loading…
Reference in New Issue
Block a user